stdcompat

Compatibility module for OCaml standard library
Library stdcompat
Module type Stdcompat . Stdlib . Weak . S
type data
type t
val create : int -> t
val clear : t -> unit
val merge : t -> data -> data
val add : t -> data -> unit
val remove : t -> data -> unit
val find : t -> data -> data
val find_opt : t -> data -> data option
val find_all : t -> data -> data list
val mem : t -> data -> bool
val iter : ( data -> unit ) -> t -> unit
val fold : ( data -> 'a -> 'a ) -> t -> 'a -> 'a
val count : t -> int
val stats : t -> int * int * int * int * int * int