Builds a fold_map
val is_empty : _ t ‑> bool
val length : _ t ‑> int
add m ~key ~data
adds the key to the value already bound to key
in m
. If no
value is bound to key
than the initial value specified by the functor will be
used instead.
val mem : 'a t ‑> 'a ‑> bool
val iter_keys : 'a t ‑> f:('a ‑> unit) ‑> unit
val keys : 'a t ‑> 'a list
val to_map : 'a t ‑> ('a, out_value) Core.Map.Poly.t
val of_map : ('a, out_value) Core.Map.Poly.t ‑> 'a t