Module Imap
val create_default : 'a -> (int * 'a) array -> 'a tSame as
createbut add necessary bindings so thatfind_lowerreturns a default value when the key is not in the set of the bindings which are provided.
val merge : 'a t -> 'a t -> 'a tMerge two maps, with a priority to the second one in case of conflict. Complexity linear in the size of the result.
val find : 'a t -> int -> 'aFind the value associated to a key, or raise
Not_found.
val find_default : 'a t -> 'a -> int -> 'aFind the value associated to a key, or return a default value.
val find_lower : 'a t -> int -> 'aFind the value associated to the largest key smaller than or equal to the integer. It is assumed that such a key exists.
val cardinal : 'a t -> intNumber of keys in the map.