OCaml-Lru-cache

ocaml-lru-cache is a simple OCaml implementation of a cache using the Least Recently Used (LRU) strategy.

Development

Development is hosted on Framagit.

Installation

Install the library via OPAM:

opam install lru_cache

Documentation

Reference documentation is here.

Releases

Examples

See the test/test_lwt.ml for an example using Lwt to compute cached values. To compile the example, Lwt must be installed.

make runtest

License

BSD3, see LICENSE file for its text.