Module Path.Map
type key= tand +'a t
val empty : 'a tval is_empty : 'a t -> boolval mem : 'a t -> key -> boolval add : 'a t -> key -> 'a -> 'a tval update : 'a t -> key -> f:('a option -> 'a option) -> 'a tval singleton : key -> 'a -> 'a tval remove : 'a t -> key -> 'a tval add_multi : 'a list t -> key -> 'a -> 'a list tval merge : 'a t -> 'b t -> f:(key -> 'a option -> 'b option -> 'c option) -> 'c tval union : 'a t -> 'a t -> f:(key -> 'a -> 'a -> 'a option) -> 'a tval superpose : 'a t -> 'a t -> 'a tsuperpose a bisbaugmented with bindings ofathat are not inb.
val compare : 'a t -> 'a t -> compare:('a -> 'a -> Ordering.t) -> Ordering.tval equal : 'a t -> 'a t -> equal:('a -> 'a -> bool) -> boolval iter : 'a t -> f:('a -> unit) -> unitval iteri : 'a t -> f:(key -> 'a -> unit) -> unitval fold : 'a t -> init:'b -> f:('a -> 'b -> 'b) -> 'bval foldi : 'a t -> init:'b -> f:(key -> 'a -> 'b -> 'b) -> 'bval for_all : 'a t -> f:('a -> bool) -> boolval for_alli : 'a t -> f:(key -> 'a -> bool) -> boolval exists : 'a t -> f:('a -> bool) -> boolval existsi : 'a t -> f:(key -> 'a -> bool) -> boolval filter : 'a t -> f:('a -> bool) -> 'a tval filteri : 'a t -> f:(key -> 'a -> bool) -> 'a tval partition : 'a t -> f:('a -> bool) -> 'a t * 'a tval partitioni : 'a t -> f:(key -> 'a -> bool) -> 'a t * 'a tval cardinal : 'a t -> intval to_list : 'a t -> (key * 'a) listval of_list : (key * 'a) list -> ('a t, key * 'a * 'a) Result.tval of_list_map : 'a list -> f:('a -> key * 'b) -> ('b t, key * 'a * 'a) Result.tval of_list_exn : (key * 'a) list -> 'a tval of_list_multi : (key * 'a) list -> 'a list tval of_list_reduce : (key * 'a) list -> f:('a -> 'a -> 'a) -> 'a tval keys : 'a t -> key listval values : 'a t -> 'a listval min_binding : 'a t -> (key * 'a) optionval max_binding : 'a t -> (key * 'a) optionval choose : 'a t -> (key * 'a) optionval split : 'a t -> key -> 'a t * 'a option * 'a tval find : 'a t -> key -> 'a optionval find_exn : 'a t -> key -> 'aval map : 'a t -> f:('a -> 'b) -> 'b tval mapi : 'a t -> f:(key -> 'a -> 'b) -> 'b tval filter_map : 'a t -> f:('a -> 'b option) -> 'b tval filter_mapi : 'a t -> f:(key -> 'a -> 'b option) -> 'b t