package lru-cache

  1. Overview
  2. Docs

Parameters

module K : Key

Signature

type key = K.t
type !'a monad = 'a
type 'a t
val init : ?validate:('a monad -> bool monad) -> size:int -> 'a t
val in_cache : 'a t -> key -> bool
val get : 'a t -> ?validate:('a monad -> bool monad) -> key -> (key -> 'a monad) -> 'a monad
OCaml

Innovation. Community. Security.