Package0.0.6.1Caching
expiring-cache-map
General purpose simple caching.
- Version0.0.6.1
- CategoryCaching
- LicenceBSD-3-Clause
- AuthorEdward L. Blake
- Maintaineredwardlblake@gmail.com
- Homepagecodeberg.org/elblake/expiring-cache-map
- Pinned byhackage expiring-cache-map 0.0.6.1
- Sourcehackage.haskell.org/package/expiring-cache-map-0.0.6.1
Modules
7 modules- Caching.ExpiringCacheMap.HashECM11A cache that holds values for a length of time that uses Hashable keys
- Caching.ExpiringCacheMap.OrdECM11A cache that holds values for a length of time that uses Ord keys with
- Caching.ExpiringCacheMap.Types10Types common to Caching.ExpiringCacheMap.OrdECM and Caching.ExpiringCacheMap.HashECM.
- Caching.ExpiringCacheMap.Utils.TestSequence11TestSequence monad for testing caching behaviour. {-# LANGUAGE OverloadedStrings #-}
- Caching.ExpiringCacheMap.Utils.Types4Simple types.
Internal modules · 2
- Caching.ExpiringCacheMap.Internal.Internal4A module with internal functions used in common by HashECM and OrdECM.
- Caching.ExpiringCacheMap.Internal.Types5Types used by internal functions and as the opaque types exported by other
Description
A simple general purpose shared state cache map with automatic expiration of values, for caching the results of accessing a resource such as reading a file. With variations for Ord and Hashable keys using Data.Map.Strict and Data.HashMap.Strict, respectively.
Depends on
4 packages- base-4.20.2.0with GHC
- containers-0.7with GHC
- hashable-1.4.7.0in this set
- unordered-containers-0.2.21in this set