val cmpU : ('k, 'a, 'id)t->('k, 'a, 'id)t->('a->'a-> int)-> int
val cmp : ('k, 'a, 'id)t->('k, 'a, 'id)t->('a->'a-> int)-> int
cmp m1 m2 cmp First compare by size, if size is the same, compare by key, value pair
val eqU : ('k, 'a, 'id)t->('k, 'a, 'id)t->('a->'a-> bool)-> bool
val eq : ('k, 'a, 'id)t->('k, 'a, 'id)t->('a->'a-> bool)-> bool
eq m1 m2 eqf tests whether the maps m1 and m2 are equal, that is, contain equal keys and associate them with equal data. eqf is the equality predicate used to compare the data associated with the keys.
val forEachU : ('k, 'a, 'id)t->('k->'a-> unit)-> unit
val forEach : ('k, 'a, 'id)t->('k->'a-> unit)-> unit
forEach m f applies f to all bindings in map m. f receives the 'k as first argument, and the associated value as second argument. The bindings are passed to f in increasing order with respect to the ordering over the type of the keys.
val reduceU : ('k, 'a, 'id)t->'b->('b->'k->'a->'b)->'b
val reduce : ('k, 'a, 'id)t->'b->('b->'k->'a->'b)->'b
reduce m a f computes (f kN dN ... (f k1 d1 a)...), where k1 ... kN are the keys of all bindings in m (in increasing order), and d1 ... dN are the associated data.
val everyU : ('k, 'a, 'id)t->('k->'a-> bool)-> bool
val every : ('k, 'a, 'id)t->('k->'a-> bool)-> bool
every m p checks if all the bindings of the map satisfy the predicate p.
val someU : ('k, 'a, 'id)t->('k->'a-> bool)-> bool
val updateU : ('k, 'a, 'id)t->'k->('a option->'a option)-> unit
val update : ('k, 'a, 'id)t->'k->('a option->'a option)-> unit
val mergeMany : ('k, 'a, 'id)t->('k * 'a) array-> unit
val mapU : ('k, 'a, 'id)t->('a->'b)->('k, 'b, 'id)t
val map : ('k, 'a, 'id)t->('a->'b)->('k, 'b, 'id)t
map m f returns a map with same domain as m, where the associated value a of all bindings of m has been replaced by the result of the application of f to a. The bindings are passed to f in increasing order with respect to the ordering over the type of the keys.
val mapWithKeyU : ('k, 'a, 'id)t->('k->'a->'b)->('k, 'b, 'id)t
val mapWithKey : ('k, 'a, 'id)t->('k->'a->'b)->('k, 'b, 'id)t