Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data CacheTTL
- cacheTTL :: Int -> CacheTTL
- fromCacheTTL :: CacheTTL -> Expiration
- fiveMinuteTTL :: CacheTTL
Documentation
Instances
Enum CacheTTL Source # | |
Defined in Freckle.App.Memcached.CacheTTL | |
Num CacheTTL Source # | |
Integral CacheTTL Source # | |
Defined in Freckle.App.Memcached.CacheTTL | |
Real CacheTTL Source # | |
Defined in Freckle.App.Memcached.CacheTTL toRational :: CacheTTL -> Rational # | |
Show CacheTTL Source # | |
Eq CacheTTL Source # | |
Ord CacheTTL Source # | |
Defined in Freckle.App.Memcached.CacheTTL | |
ToAttribute CacheTTL Source # | |
Defined in Freckle.App.Memcached.CacheTTL toAttribute :: CacheTTL -> Attribute # | |
Serialise CacheTTL Source # | |
fromCacheTTL :: CacheTTL -> Expiration Source #
fiveMinuteTTL :: CacheTTL Source #
Standard 5 minute time to live