dev-haskell / lrucache

a simple, pure LRU cache

Official package sites : ·

This package contains a simple, pure LRU cache, implemented in terms of "Data.Map". It also contains a mutable IO wrapper providing atomic updates to an LRU cache. Version History: 1.1.1 - Add an additional modification function for AtomicLRUCache. - Update containers constraint to allow containers from ghc-7 1.1 - Add a Functor instance for LRUCache. Add a generic modification function for AtomicLRUCache. 1.0 - Breaking API changes: 1) The newLRU smart constructor now makes the maximum size optional. 2) The delete function now returns the value removed, if one was. Additionally, a function was added to remove the least-recently used element in the LRU. 0.3 - Added a Show instance for LRU. (Requested by Ben Lee) - Increase strictness slightly. Remove cabal target for test executable. (Just include test sources instead.) 0.2 - Added an Eq instance for LRU. Added strictness to eliminate space leaks in common use patterns. 0.1.1 - Add the Data.Cache.LRU.IO.Internal module. Clean up build warnings on GHC 6.12.1. - Minor refactoring 0.1 - First release

v1.2.0.1 :: 0/ :: gentoo

~amd64 ~x86
USE flags
doc hscolour profile


Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
Include coloured haskell sources to generated documentation (dev-haskell/hscolour)
Add support for software performance analysis (will likely vary from ebuild to ebuild)

dev-haskell / cabal : A framework for packaging Haskell software

dev-haskell / contravariant : Contravariant functors

dev-haskell / hscolour : Colourise Haskell code

dev-lang / ghc : The Glasgow Haskell Compiler

dev-haskell / contravariant : Contravariant functors

dev-lang / ghc : The Glasgow Haskell Compiler

dev-haskell / hakyll : A static website compiler library

Repository mirror & CI · gentoo
Merge updates from master
Jack Todaro · gentoo
dev-haskell/lrucache: add package
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jack Todaro <> Signed-off-by: Sergei Trofimovich <>