Module Base__Map.Using_comparator.Tree

type ('k, +'v, 'cmp) t
include sig ... end
val sexp_of_t : ('k ‑> Base__.Sexplib.Sexp.t) ‑> ('v ‑> Base__.Sexplib.Sexp.t) ‑> ('cmp ‑> Base__.Sexplib.Sexp.t) ‑> ('k'v'cmpt ‑> Base__.Sexplib.Sexp.t
val t_of_sexp_direct : comparator:('k'cmpBase.Comparator.t ‑> (Base.Sexp.t ‑> 'k) ‑> (Base.Sexp.t ‑> 'v) ‑> Base.Sexp.t ‑> ('k'v'cmpt
include Base.Map_intf.Creators_and_accessors3_with_comparator with type (a, b, c) t := (a, b, c) t with type (a, b, c) tree := (a, b, c) t
include Base.Map_intf.Creators3_with_comparator
type ('a, 'b, 'cmp) t
type ('a, 'b, 'cmp) tree
val empty : comparator:('a'cmpBase.Comparator.t ‑> ('a_'cmpt
val singleton : comparator:('a'cmpBase.Comparator.t ‑> 'a ‑> 'b ‑> ('a'b'cmpt
val of_alist : comparator:('a'cmpBase.Comparator.t ‑> ('a * 'b) list ‑> [ `Ok of ('a'b'cmpt | `Duplicate_key of 'a ]
val of_alist_or_error : comparator:('a'cmpBase.Comparator.t ‑> ('a * 'b) list ‑> ('a'b'cmpt Base.Or_error.t
val of_alist_exn : comparator:('a'cmpBase.Comparator.t ‑> ('a * 'b) list ‑> ('a'b'cmpt
val of_alist_multi : comparator:('a'cmpBase.Comparator.t ‑> ('a * 'b) list ‑> ('a'b list, 'cmpt
val of_alist_fold : comparator:('a'cmpBase.Comparator.t ‑> ('a * 'b) list ‑> init:'c ‑> f:('c ‑> 'b ‑> 'c) ‑> ('a'c'cmpt
val of_alist_reduce : comparator:('a'cmpBase.Comparator.t ‑> ('a * 'b) list ‑> f:('b ‑> 'b ‑> 'b) ‑> ('a'b'cmpt
val of_sorted_array : comparator:('a'cmpBase.Comparator.t ‑> ('a * 'b) array ‑> ('a'b'cmpt Base.Or_error.t
val of_sorted_array_unchecked : comparator:('a'cmpBase.Comparator.t ‑> ('a * 'b) array ‑> ('a'b'cmpt
val of_increasing_iterator_unchecked : comparator:('a'cmpBase.Comparator.t ‑> len:int ‑> f:(int ‑> 'a * 'b) ‑> ('a'b'cmpt
val of_iteri : comparator:('a'cmpBase.Comparator.t ‑> iteri:(f:(key:'a ‑> data:'b ‑> unit) ‑> unit) ‑> [ `Ok of ('a'b'cmpt | `Duplicate_key of 'a ]
val of_tree : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmptree ‑> ('a'b'cmpt
include Base.Map_intf.Accessors3_with_comparator with type (a, b, c) t := (a, b, c) t with type (a, b, c) tree := (a, b, c) tree
type ('a, 'b, 'cmp) t
type ('a, 'b, 'cmp) tree
val invariants : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> bool
val is_empty : ('a'b'cmpt ‑> bool
val length : ('a'b'cmpt ‑> int
val add : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> key:'a ‑> data:'b ‑> ('a'b'cmpt
val add_multi : comparator:('a'cmpBase.Comparator.t ‑> ('a'b list, 'cmpt ‑> key:'a ‑> data:'b ‑> ('a'b list, 'cmpt
val remove_multi : comparator:('a'cmpBase.Comparator.t ‑> ('a'b list, 'cmpt ‑> 'a ‑> ('a'b list, 'cmpt
val change : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> 'a ‑> f:('b option ‑> 'b option) ‑> ('a'b'cmpt
val update : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> 'a ‑> f:('b option ‑> 'b) ‑> ('a'b'cmpt
val find : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> 'a ‑> 'b option
val find_exn : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> 'a ‑> 'b
val remove : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> 'a ‑> ('a'b'cmpt
val mem : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> 'a ‑> bool
val iter_keys : ('a_'cmpt ‑> f:('a ‑> unit) ‑> unit
val iter : (_'b'cmpt ‑> f:('b ‑> unit) ‑> unit
val iteri : ('a'b'cmpt ‑> f:(key:'a ‑> data:'b ‑> unit) ‑> unit
val iter2 : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> ('a'c'cmpt ‑> f:(key:'a ‑> data:[ `Left of 'b | `Right of 'c | `Both of 'b * 'c ] ‑> unit) ‑> unit
val map : ('a'b'cmpt ‑> f:('b ‑> 'c) ‑> ('a'c'cmpt
val mapi : ('a'b'cmpt ‑> f:(key:'a ‑> data:'b ‑> 'c) ‑> ('a'c'cmpt
val fold : ('a'b_t ‑> init:'c ‑> f:(key:'a ‑> data:'b ‑> 'c ‑> 'c) ‑> 'c
val fold_right : ('a'b_t ‑> init:'c ‑> f:(key:'a ‑> data:'b ‑> 'c ‑> 'c) ‑> 'c
val fold2 : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> ('a'c'cmpt ‑> init:'d ‑> f:(key:'a ‑> data:[ `Left of 'b | `Right of 'c | `Both of 'b * 'c ] ‑> 'd ‑> 'd) ‑> 'd
val filter_keys : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> f:('a ‑> bool) ‑> ('a'b'cmpt
val filter : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> f:('b ‑> bool) ‑> ('a'b'cmpt
val filteri : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> f:(key:'a ‑> data:'b ‑> bool) ‑> ('a'b'cmpt
val filter_map : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> f:('b ‑> 'c option) ‑> ('a'c'cmpt
val filter_mapi : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> f:(key:'a ‑> data:'b ‑> 'c option) ‑> ('a'c'cmpt
val partition_mapi : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> f:(key:'a ‑> data:'b ‑> [ `Fst of 'c | `Snd of 'd ]) ‑> ('a'c'cmpt * ('a'd'cmpt
val partition_map : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> f:('b ‑> [ `Fst of 'c | `Snd of 'd ]) ‑> ('a'c'cmpt * ('a'd'cmpt
val partitioni_tf : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> f:(key:'a ‑> data:'b ‑> bool) ‑> ('a'b'cmpt * ('a'b'cmpt
val partition_tf : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> f:('b ‑> bool) ‑> ('a'b'cmpt * ('a'b'cmpt
val compare_direct : comparator:('a'cmpBase.Comparator.t ‑> ('b ‑> 'b ‑> int) ‑> ('a'b'cmpt ‑> ('a'b'cmpt ‑> int
val equal : comparator:('a'cmpBase.Comparator.t ‑> ('b ‑> 'b ‑> bool) ‑> ('a'b'cmpt ‑> ('a'b'cmpt ‑> bool
val keys : ('a__t ‑> 'a list
val data : (_'b_t ‑> 'b list
val to_alist : ?key_order:[ `Increasing | `Decreasing ] ‑> ('a'b_t ‑> ('a * 'b) list
val validate : name:('a ‑> string) ‑> 'b Base.Validate.check ‑> ('a'b_t Base.Validate.check
val merge : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> ('a'c'cmpt ‑> f:(key:'a ‑> [ `Left of 'b | `Right of 'c | `Both of 'b * 'c ] ‑> 'd option) ‑> ('a'd'cmpt
val symmetric_diff : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> ('a'b'cmpt ‑> data_equal:('b ‑> 'b ‑> bool) ‑> ('a'bBase.Map_intf.Symmetric_diff_element.t Base.Sequence.t
val min_elt : ('a'b'cmpt ‑> ('a * 'b) option
val min_elt_exn : ('a'b'cmpt ‑> 'a * 'b
val max_elt : ('a'b'cmpt ‑> ('a * 'b) option
val max_elt_exn : ('a'b'cmpt ‑> 'a * 'b
val for_all : ('a'b'cmpt ‑> f:('b ‑> bool) ‑> bool
val for_alli : ('a'b'cmpt ‑> f:(key:'a ‑> data:'b ‑> bool) ‑> bool
val exists : ('a'b'cmpt ‑> f:('b ‑> bool) ‑> bool
val existsi : ('a'b'cmpt ‑> f:(key:'a ‑> data:'b ‑> bool) ‑> bool
val count : ('a'b'cmpt ‑> f:('b ‑> bool) ‑> int
val counti : ('a'b'cmpt ‑> f:(key:'a ‑> data:'b ‑> bool) ‑> int
val split : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> 'a ‑> ('a'b'cmpt * ('a * 'b) option * ('a'b'cmpt
val append : comparator:('a'cmpBase.Comparator.t ‑> lower_part:('a'b'cmpt ‑> upper_part:('a'b'cmpt ‑> [ `Ok of ('a'b'cmpt | `Overlapping_key_ranges ]
val subrange : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> lower_bound:'a Base.Maybe_bound.t ‑> upper_bound:'a Base.Maybe_bound.t ‑> ('a'b'cmpt
val fold_range_inclusive : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> min:'a ‑> max:'a ‑> init:'c ‑> f:(key:'a ‑> data:'b ‑> 'c ‑> 'c) ‑> 'c
val range_to_alist : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> min:'a ‑> max:'a ‑> ('a * 'b) list
val closest_key : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> [ `Greater_or_equal_to | `Greater_than | `Less_or_equal_to | `Less_than ] ‑> 'a ‑> ('a * 'b) option
val nth : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> int ‑> ('a * 'b) option
val nth_exn : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> int ‑> 'a * 'b
val rank : comparator:('a'cmpBase.Comparator.t ‑> ('a'b'cmpt ‑> 'a ‑> int option
val to_tree : ('a'b'cmpt ‑> ('a'b'cmptree
val to_sequence : comparator:('a'cmpBase.Comparator.t ‑> ?order:[ `Increasing_key | `Decreasing_key ] ‑> ?keys_greater_or_equal_to:'a ‑> ?keys_less_or_equal_to:'a ‑> ('a'b'cmpt ‑> ('a * 'b) Base.Sequence.t
val empty_without_value_restriction : (___t