HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduleexpiring-cache-map-0.0.6.1Haskell98

Caching.ExpiringCacheMap.Utils.Types

Simple types.

  • 4 types

Types

4 declarations
typetype TimeUnits = Int
#

Integer involved in the time units used to determine when an item expires. The time units used can be any arbitrary integer time representation, such as seconds or milliseconds for examples. They can also be deterministic time steps in a sequencing monad.

typetype ECMMapSize = Int
#

Integer involved in the size of a key-value map.

typetype ECMULength = Int
#

Integer involved in the length of the usage history list.

typetype ECMIncr = Word32
#

Unsigned integer (Word32) involved in the cache state incrementing accumulator.