package containers

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type key
type 'a t
val create : ?max_load:float -> int -> 'a t
val copy : 'a t -> 'a t
val clear : 'a t -> unit
val find : 'a t -> key -> 'a
val replace : 'a t -> key -> 'a -> unit
val remove : 'a t -> key -> unit
val length : 'a t -> int
val mem : 'a t -> key -> bool
val iter : (key -> 'a -> unit) -> 'a t -> unit
val fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val to_seq : 'a t -> (key * 'a) CCSequence.t
val of_seq : 'a t -> (key * 'a) CCSequence.t -> unit
val stats : 'a t -> int * int * int * int * int * int
OCaml

Innovation. Community. Security.