Module Pure_literal_elim.IDMap
val is_empty : 'a t -> boolval mem : key -> 'a t -> boolval add : key -> 'a -> 'a t -> 'a tval singleton : key -> 'a -> 'a tval remove : key -> 'a t -> 'a tval merge :
(key -> 'a option -> 'b option -> 'c option) ->
'a t ->
'b t ->
'c tval union : (key -> 'a -> 'a -> 'a option) -> 'a t -> 'a t -> 'a tval compare : ('a -> 'a -> int) -> 'a t -> 'a t -> intval equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> boolval iter : (key -> 'a -> unit) -> 'a t -> unitval fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'bval for_all : (key -> 'a -> bool) -> 'a t -> boolval exists : (key -> 'a -> bool) -> 'a t -> boolval filter : (key -> 'a -> bool) -> 'a t -> 'a tval filter_map : (key -> 'a -> 'b option) -> 'a t -> 'b tval partition : (key -> 'a -> bool) -> 'a t -> 'a t * 'a tval cardinal : 'a t -> intval bindings : 'a t -> (key * 'a) listval min_binding : 'a t -> key * 'aval max_binding : 'a t -> key * 'aval choose : 'a t -> key * 'aval split : key -> 'a t -> 'a t * 'a option * 'a tval find : key -> 'a t -> 'aval find_last : (key -> bool) -> 'a t -> key * 'aval find_last_opt : (key -> bool) -> 'a t -> (key * 'a) optionval map : ('a -> 'b) -> 'a t -> 'b tval mapi : (key -> 'a -> 'b) -> 'a t -> 'b tval get : key -> 'a t -> 'a optionval get_or : key -> 'a t -> default:'a -> 'aval update : key -> ('a option -> 'a option) -> 'a t -> 'a tval choose_opt : 'a t -> (key * 'a) optionval min_binding_opt : 'a t -> (key * 'a) optionval max_binding_opt : 'a t -> (key * 'a) optionval find_opt : key -> 'a t -> 'a optionval find_first : (key -> bool) -> 'a t -> key * 'aval find_first_opt : (key -> bool) -> 'a t -> (key * 'a) optionval merge_safe :
f:(key -> [ `Both of 'a * 'b | `Left of 'a | `Right of 'b ] -> 'c option) ->
'a t ->
'b t ->
'c tval add_seq_with :
f:(key -> 'a -> 'a -> 'a) ->
'a t ->
(key * 'a) Seq.t ->
'a tval of_seq_with : f:(key -> 'a -> 'a -> 'a) -> (key * 'a) Seq.t -> 'a tval add_iter : 'a t -> (key * 'a) CCMap.iter -> 'a tval add_iter_with :
f:(key -> 'a -> 'a -> 'a) ->
'a t ->
(key * 'a) CCMap.iter ->
'a tval of_iter : (key * 'a) CCMap.iter -> 'a tval of_iter_with : f:(key -> 'a -> 'a -> 'a) -> (key * 'a) CCMap.iter -> 'a tval to_iter : 'a t -> (key * 'a) CCMap.iterval of_list : (key * 'a) list -> 'a tval of_list_with : f:(key -> 'a -> 'a -> 'a) -> (key * 'a) list -> 'a tval add_list : 'a t -> (key * 'a) list -> 'a tval add_list_with :
f:(key -> 'a -> 'a -> 'a) ->
'a t ->
(key * 'a) list ->
'a tval keys : 'a t -> key CCMap.iterval values : 'a t -> 'a CCMap.iterval to_list : 'a t -> (key * 'a) listval pp :
?pp_start:unit CCMap.printer ->
?pp_stop:unit CCMap.printer ->
?pp_arrow:unit CCMap.printer ->
?pp_sep:unit CCMap.printer ->
key CCMap.printer ->
'a CCMap.printer ->
'a t CCMap.printer