module Map: sig
.. end
Immutable map
type
t
val empty : t
val mem : 'a CCHet.Key.t -> t -> bool
val add : 'a CCHet.Key.t -> 'a -> t -> t
val length : t -> int
val cardinal : t -> int
val find : 'a CCHet.Key.t -> t -> 'a option
val find_exn : 'a CCHet.Key.t -> t -> 'a
Raises Not_found
if the key is not in the table
val iter : (CCHet.pair -> unit) -> t -> unit
val to_seq : t -> CCHet.pair CCHet.sequence
val of_seq : CCHet.pair CCHet.sequence -> t
val add_seq : t -> CCHet.pair CCHet.sequence -> t
val add_list : t -> CCHet.pair list -> t
val of_list : CCHet.pair list -> t
val to_list : t -> CCHet.pair list