include Ppx_compare_lib.Comparable.S1 with type +'a t := 'a t
Sourceval compare :
'a Base__.Ppx_compare_lib.compare ->
'a t Base__.Ppx_compare_lib.compare include Core.Map_intf.Creators_and_accessors1
with type 'a t := 'a t
with type 'a tree :=
(Key.t, 'a, Key.comparator_witness) Base.Map.Using_comparator.Tree.t
with type key := Key.t
with type comparator_witness := Key.comparator_witness
include Core.Map_intf.Accessors1
with type 'a t := 'a t
with type 'a tree :=
(Key.t, 'a, Key.comparator_witness) Base.Map.Using_comparator.Tree.t
with type key := Key.t
with type comparator_witness := Key.comparator_witness
include Base.Map.Accessors1
with type 'a t := 'a t
with type 'a tree :=
(Key.t, 'a, Key.comparator_witness) Base.Map.Using_comparator.Tree.t
with type key := Key.t
with type comparator_witness := Key.comparator_witness
Sourceval add : 'a t -> key:Key.t -> data:'a -> 'a t Base__.Map_intf.Or_duplicate.t Sourceval add_multi : 'a list t -> key:Key.t -> data:'a -> 'a list t Sourceval change : 'a t -> Key.t -> f:('a option -> 'a option) -> 'a t Sourceval iter : 'a t -> f:('a -> unit) -> unit Sourceval iteri : 'a t -> f:(key:Key.t -> data:'a -> unit) -> unit Sourceval iteri_until :
'a t ->
f:(key:Key.t -> data:'a -> Base__.Map_intf.Continue_or_stop.t) ->
Base__.Map_intf.Finished_or_unfinished.t Sourceval iter2 :
'a t ->
'b t ->
f:(key:Key.t -> data:('a, 'b) Base__.Map_intf.Merge_element.t -> unit) ->
unit Sourceval map : 'a t -> f:('a -> 'b) -> 'b t Sourceval fold : 'a t -> init:'b -> f:(key:Key.t -> data:'a -> 'b -> 'b) -> 'b Sourceval fold_until :
'a t ->
init:'acc ->
f:
(key:Key.t ->
data:'a ->
'acc ->
('acc, 'final) Base__.Container_intf.Export.Continue_or_stop.t) ->
finish:('acc -> 'final) ->
'final Sourceval fold_right : 'a t -> init:'b -> f:(key:Key.t -> data:'a -> 'b -> 'b) -> 'b Sourceval fold2 :
'a t ->
'b t ->
init:'c ->
f:(key:Key.t -> data:('a, 'b) Base__.Map_intf.Merge_element.t -> 'c -> 'c) ->
'c Sourceval filter : 'a t -> f:('a -> bool) -> 'a t Sourceval filteri : 'a t -> f:(key:Key.t -> data:'a -> bool) -> 'a t Sourceval filter_map : 'a t -> f:('a -> 'b option) -> 'b t Sourceval filter_mapi : 'a t -> f:(key:Key.t -> data:'a -> 'b option) -> 'b t Sourceval partition_mapi :
'a t ->
f:(key:Key.t -> data:'a -> ('b, 'c) Base__.Either.t) ->
'b t * 'c t Sourceval partition_map : 'a t -> f:('a -> ('b, 'c) Base__.Either.t) -> 'b t * 'c t Sourceval partitioni_tf : 'a t -> f:(key:Key.t -> data:'a -> bool) -> 'a t * 'a t Sourceval partition_tf : 'a t -> f:('a -> bool) -> 'a t * 'a t Sourceval combine_errors : 'a Base__.Or_error.t t -> 'a t Base__.Or_error.t Sourceval compare_direct : ('a -> 'a -> int) -> 'a t -> 'a t -> int Sourceval equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool Sourceval to_alist :
?key_order:[ `Increasing | `Decreasing ] ->
'a t ->
(Key.t * 'a) list Sourceval merge :
'a t ->
'b t ->
f:(key:Key.t -> ('a, 'b) Base__.Map_intf.Merge_element.t -> 'c option) ->
'c t Sourceval merge_skewed :
'v t ->
'v t ->
combine:(key:Key.t -> 'v -> 'v -> 'v) ->
'v t Sourceval symmetric_diff :
'a t ->
'a t ->
data_equal:('a -> 'a -> bool) ->
(Key.t, 'a) Base__.Map_intf.Symmetric_diff_element.t Base__.Sequence.t Sourceval fold_symmetric_diff :
'a t ->
'a t ->
data_equal:('a -> 'a -> bool) ->
init:'c ->
f:('c -> (Key.t, 'a) Base__.Map_intf.Symmetric_diff_element.t -> 'c) ->
'c Sourceval for_all : 'a t -> f:('a -> bool) -> bool Sourceval for_alli : 'a t -> f:(key:Key.t -> data:'a -> bool) -> bool Sourceval exists : 'a t -> f:('a -> bool) -> bool Sourceval existsi : 'a t -> f:(key:Key.t -> data:'a -> bool) -> bool Sourceval count : 'a t -> f:('a -> bool) -> int Sourceval counti : 'a t -> f:(key:Key.t -> data:'a -> bool) -> int Sourceval append :
lower_part:'a t ->
upper_part:'a t ->
[ `Ok of 'a t | `Overlapping_key_ranges ] Sourceval subrange :
'a t ->
lower_bound:Key.t Base__.Maybe_bound.t ->
upper_bound:Key.t Base__.Maybe_bound.t ->
'a t Sourceval fold_range_inclusive :
'a t ->
min:Key.t ->
max:Key.t ->
init:'b ->
f:(key:Key.t -> data:'a -> 'b -> 'b) ->
'b Sourceval closest_key :
'a t ->
[ `Greater_or_equal_to | `Greater_than | `Less_or_equal_to | `Less_than ] ->
Key.t ->
(Key.t * 'a) option Sourceval to_sequence :
?order:[ `Increasing_key | `Decreasing_key ] ->
?keys_greater_or_equal_to:Key.t ->
?keys_less_or_equal_to:Key.t ->
'a t ->
(Key.t * 'a) Base__.Sequence.t Sourceval binary_search :
'a t ->
compare:(key:Key.t -> data:'a -> 'key -> int) ->
Base__.Binary_searchable_intf.Which_target_by_key.t ->
'key ->
(Key.t * 'a) option Sourceval binary_search_segmented :
'a t ->
segment_of:(key:Key.t -> data:'a -> [ `Left | `Right ]) ->
Base__.Binary_searchable_intf.Which_target_by_segment.t ->
(Key.t * 'a) option Sourceval binary_search_subrange :
'a t ->
compare:(key:Key.t -> data:'a -> 'bound -> int) ->
lower_bound:'bound Base__.Maybe_bound.t ->
upper_bound:'bound Base__.Maybe_bound.t ->
'a t