package colibri2

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type key = t
type 'a t
val create : int -> 'a t
val clear : 'a t -> unit
val reset : 'a t -> unit
val copy : 'a t -> 'a t
val add : 'a t -> key -> 'a -> unit
val remove : 'a t -> key -> unit
val find : 'a t -> key -> 'a
val find_all : 'a t -> key -> 'a list
val replace : 'a t -> key -> 'a -> unit
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 length : 'a t -> int
val stats : 'a t -> Colibri2_popop_lib__Exthtbl.statistics
val find_def : 'a t -> 'a -> key -> 'a
val find_opt : 'a t -> key -> 'a option
val find_exn : 'a t -> exn -> key -> 'a
val choose : 'a t -> (key * 'a) option
val mapi : (key -> 'a -> 'a) -> 'a t -> unit
val filter_mapi : (key -> 'a -> 'a option) -> 'a t -> unit
val memo : (key -> 'a) -> 'a t -> key -> 'a
val is_empty : 'a t -> bool
val remove_all : 'a t -> key -> unit
val change : ('a option -> 'a option) -> 'a t -> key -> unit
val add_new : exn -> 'a t -> key -> 'a -> unit
OCaml

Innovation. Community. Security.