The lrucache package

[Tags:bsd3, library]

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:

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.

0.1.0.1 - Minor refactoring

0.1 - First release


[Skip to Readme]

Properties

Versions 0.1, 0.1.0.1, 0.1.1, 0.2, 0.2.0.1, 0.3, 1.0, 1.1, 1.1.0.1, 1.1.1, 1.1.1.1, 1.1.1.2, 1.1.1.3, 1.1.1.4, 1.2.0.0
Dependencies base (>4 && <5), containers (>0.2 && <0.4), explicit-exception (==0.1.*), QuickCheck (==2.1.*) [details]
License BSD3
Copyright Carl Howells, 2010
Author Carl Howells
Maintainer chowells79@gmail.com
Stability Experimental
Category Data
Home page http://github.com/chowells79/lrucache
Uploaded Tue Feb 16 20:50:23 UTC 2010 by CarlHowells
Distributions Arch:1.2.0.0, Debian:1.2.0.0, Fedora:1.2.0.0, LTSHaskell:1.2.0.0, NixOS:1.2.0.0, Stackage:1.2.0.0, Tumbleweed:1.2.0.0
Downloads 14090 total (61 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefaultType
testBuild test executablesDisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for lrucache

Readme for lrucache-0.2

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.