A simple pure LRU cache written in Haskell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src/Data/Cache rename elems -> pairs, and document Jan 29, 2015
.gitignore add sandbox files to .gitignore Feb 11, 2014
LICENSE update copyright dates Jan 28, 2015
MemTest.hs Make the maximum size of the LRU optional May 15, 2010
OpTest.hs Add a module declaration to OpTest May 25, 2010
Setup.hs Initial commit Feb 15, 2010
changes.txt add lenses to changes.txt Jan 29, 2015
lrucache.cabal Add lens-ish Folds for elems and keys, also fix to build with ghc < 7.10 Jan 29, 2015


This package contains a simple pure LRU cache, implemented in terms of

It also contains a mutable IO wrapper providing atomic updates to an
LRU cache.