package lru

  1. Overview
  2. Docs

Functional LRU map.

module type S = sig ... end

Signature of functional LRU maps.

module Make (K : Map.OrderedType) (V : Weighted) : S with type k = K.t and type v = V.t

Make(K)(V) is the LRU map with bindings K.t -> V.t. The weight of an individual binding is the Weighted.weight of V.t.