status: stable
val empty : 'a tval singleton : int ‑> 'a ‑> 'a tval doubleton : int ‑> 'a ‑> int ‑> 'a ‑> 'a tval mem : int ‑> _ t ‑> boolval find : int ‑> 'a t ‑> 'a optionequal ~eq a b checks whether a and b have the same set of pairs
(key, value), comparing values with eq.
val iter : (int ‑> 'a ‑> unit) ‑> 'a t ‑> unitval fold : (int ‑> 'a ‑> 'b ‑> 'b) ‑> 'a t ‑> 'b ‑> 'bval choose : 'a t ‑> (int * 'a) optionval merge : f:(int ‑> [ `Left of 'a | `Right of 'b | `Both of 'a * 'b ] ‑> 'c option) ‑> 'a t ‑> 'b t ‑> 'c tmerge ~f m1 m2 merges m1 and m2 together, calling f once on every
key that occurs in at least one of m1 and m2.
if f k binding = Some c then k -> c is part of the result,
else k is not part of the result.
val of_list : (int * 'a) list ‑> 'a tval to_list : 'a t ‑> (int * 'a) listHelpers