Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module provides a simple caching implementation based on the LRU caching strategy. The cache is implemented via software transactional memory, which means that you can use the cache from different threads.
Documentation
Something is cacheable if there is an action to release the resource (if necessary).
releaseResource :: r -> IO () #
Create a new cache instance.