package GuaCaml

  1. Overview
  2. Docs
type (!'a, !'aa, !'b, !'bb) t = {
  1. cache : ('aa, 'bb) Module.t;
  2. a2aa : 'a -> 'aa;
  3. aa2a : 'aa -> 'a;
  4. b2bb : 'b -> 'bb;
  5. bb2b : 'bb -> 'b;
}
val reset : ('a, 'b, 'c, 'd) t -> unit
val clear : ('a, 'b, 'c, 'd) t -> unit
val get_cache : ('a, 'b, 'c, 'd) t -> ('b, 'd) Module.t
val iter : (('a * 'b) -> unit) -> ('a, 'c, 'b, 'd) t -> unit
val apply_ifnotfound : ('a, 'b, 'c, 'd) t -> ('e, 'd) Module.t -> ('f -> 'c) -> 'f -> 'e -> int -> 'c
val apply : ('a, 'b, 'c, 'd) t -> ('a -> 'c) -> 'a -> 'c
val make : ?random:bool -> (('a -> 'b) * ('b -> 'a)) -> (('c -> 'd) * ('d -> 'c)) -> int -> ('a, 'b, 'c, 'd) t * (('a -> 'c) -> 'a -> 'c)
val dump_stats : ('a, 'b, 'c, 'd) t -> string Tree.tree
OCaml

Innovation. Community. Security.