lrucache: a simple, pure LRU cache

[ bsd3, data, library ] [ Propose Tags ]

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. 2 - Added an Eq instance for LRU. Added strictness to eliminate space leaks in common use patterns.

  2. 1.1 - Add the Data.Cache.LRU.IO.Internal module. Clean up build warnings on GHC 6.12.1.

  3. 1.0.1 - Minor refactoring

  4. 1 - First release


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
test

Build test executables

Disabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 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, 1.2.0.1
Dependencies base (>4 && <5), containers (>0.2 && <0.4), explicit-exception (>=0.1 && <0.2), QuickCheck (>=2.1 && <2.2) [details]
License BSD-3-Clause
Copyright Carl Howells, 2010
Author Carl Howells
Maintainer chowells79@gmail.com
Category Data
Home page http://github.com/chowells79/lrucache
Uploaded by CarlHowells at 2010-02-16T20:50:23Z
Distributions Arch:1.2.0.1, Debian:1.2.0.1, Fedora:1.2.0.1, LTSHaskell:1.2.0.1, NixOS:1.2.0.1, Stackage:1.2.0.1
Reverse Dependencies 14 direct, 34 indirect [details]
Executables test
Downloads 36802 total (93 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for lrucache-0.2

[back to package description]
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.