Package0.0.6.1Caching
expiring-cache-map
General purpose simple caching.
- Version0.0.6.1
- CategoryCaching
- LicenceBSD-3-Clause
- AuthorEdward L.
Blake - Maintainermail@
edwardlblake. com - Homepagecodeberg.
org/ elblake/ expiring-cache-map - Pinned byhackage expiring-cache-map 0.
0. 6. 1 - Sourceexpiring-cache-map-0.
0. 6. 1 on Hackage
Modules
- Caching.ExpiringCacheMap.HashECMA cache that holds values for a length of time that uses Hashable keys
- Caching.ExpiringCacheMap.OrdECMA cache that holds values for a length of time that uses Ord keys with
- Caching.ExpiringCacheMap.TypesTypes common to Caching.ExpiringCacheMap.OrdECM and Caching.ExpiringCacheMap.HashECM.
- Caching.ExpiringCacheMap.Utils.TestSequenceTestSequence monad for testing caching behaviour. {-# LANGUAGE OverloadedStrings #-}
- Caching.ExpiringCacheMap.Utils.TypesSimple types.
Internal modules · 2
- Caching.ExpiringCacheMap.Internal.InternalA module with internal functions used in common by HashECM and OrdECM.
- Caching.ExpiringCacheMap.Internal.TypesTypes 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.22.0.0with GHC
- containers-0.8with GHC
- hashable-1.5.1.0in this set
- unordered-containers-0.2.21in this set