package lru_cache

  1. Overview
  2. Docs

ocaml-lru-cache

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

Installation

Install the library via OPAM:

opam install lru_cache

Documentation

Reference documentation is here.

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.