Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val add : ('a, 'b) t -> 'a -> 'b -> unit
val add_multimap : ('a, 'b list) t -> 'a -> 'b -> unit
val add_count : ('a, int) t -> 'a -> unit
val update : ('a, 'b) t -> 'a -> f:('b -> 'b) -> or_:'b -> unit
update build k ~f ~or_
finds the value v
associated to k
, and maps k
to f v
. If k
is not bound, it becomes bound to or_
val of_hash :
?eq:('a -> 'a -> bool) ->
?hash:('a -> int) ->
?size:int ->
unit ->
('a, 'b) t
val of_cmp : ?cmp:('a -> 'a -> int) -> unit -> ('a, 'b) t