package batteries

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type (!'a, !'b) manual_cache = ('a, 'b) BatCache.manual_cache = {
  1. get : 'a -> 'b;
  2. del : 'a -> unit;
  3. enum : unit -> ('a * 'b) BatEnum.t;
}
val make_ht : gen:('a -> 'b) -> init_size:int -> ('a, 'b) manual_cache
val make_map : gen:('a -> 'b) -> ('a, 'b) manual_cache
type (!'a, !'b) auto_cache = 'a -> 'b
val lru_cache : gen:('a -> 'b) -> cap:int -> ('a, 'b) auto_cache
OCaml

Innovation. Community. Security.