include Core_kernel.Set_intf.Make_S_plain_tree(Elt).S
type t = (Elt.t, Elt.comparator_witness) Core_kernel.Set_intf.Tree.t
val compare : t -> t -> Core_kernel__.Import.intval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
type named = (Elt.t, Elt.comparator_witness) Core_kernel.Set_intf.Tree.Named.t
val length : t -> intval is_empty : t -> boolval iter : t -> f:(Elt.t -> unit) -> unitval fold : t -> init:'accum -> f:('accum -> Elt.t -> 'accum) -> 'accumval fold_result : t -> init:'accum -> f:('accum -> Elt.t -> ('accum, 'e) Base.Result.t) -> ('accum, 'e) Base.Result.tval exists : t -> f:(Elt.t -> bool) -> boolval for_all : t -> f:(Elt.t -> bool) -> boolval count : t -> f:(Elt.t -> bool) -> intval sum : (module Base__.Container_intf.Summable with type t = 'sum) -> t -> f:(Elt.t -> 'sum) -> 'sumval find : t -> f:(Elt.t -> bool) -> Elt.t optionval find_map : t -> f:(Elt.t -> 'a option) -> 'a optionval to_list : t -> Elt.t listval to_array : t -> Elt.t arrayval invariants : t -> boolval mem : t -> Elt.t -> boolval add : t -> Elt.t -> tval remove : t -> Elt.t -> tval union : t -> t -> tval inter : t -> t -> tval diff : t -> t -> tval symmetric_diff : t -> t -> (Elt.t, Elt.t) Base.Either.t Base.Sequence.tval compare_direct : t -> t -> intval equal : t -> t -> boolval is_subset : t -> of_:t -> bool
module Named : sig ... endval fold_until : t -> init:'b -> f:('b -> Elt.t -> ('b, 'final) Base__.Set_intf.Continue_or_stop.t) -> finish:('b -> 'final) -> 'finalval fold_right : t -> init:'b -> f:(Elt.t -> 'b -> 'b) -> 'bval iter2 : t -> t -> f:([ `Both of Elt.t * Elt.t | `Left of Elt.t | `Right of Elt.t ] -> unit) -> unitval filter : t -> f:(Elt.t -> bool) -> tval partition_tf : t -> f:(Elt.t -> bool) -> t * tval elements : t -> Elt.t listval min_elt : t -> Elt.t optionval min_elt_exn : t -> Elt.tval max_elt : t -> Elt.t optionval max_elt_exn : t -> Elt.tval choose : t -> Elt.t optionval choose_exn : t -> Elt.tval split : t -> Elt.t -> t * Elt.t option * tval group_by : t -> equiv:(Elt.t -> Elt.t -> bool) -> t listval find_exn : t -> f:(Elt.t -> bool) -> Elt.tval nth : t -> int -> Elt.t optionval remove_index : t -> int -> tval to_tree : t -> tval to_sequence : ?order:[ `Decreasing | `Increasing ] -> ?greater_or_equal_to:Elt.t -> ?less_or_equal_to:Elt.t -> t -> Elt.t Base.Sequence.tval binary_search : t -> compare:(Elt.t -> 'key -> int) -> [ `First_equal_to | `First_greater_than_or_equal_to | `First_strictly_greater_than | `Last_equal_to | `Last_less_than_or_equal_to | `Last_strictly_less_than ] -> 'key -> Elt.t optionval binary_search_segmented : t -> segment_of:(Elt.t -> [ `Left | `Right ]) -> [ `First_on_right | `Last_on_left ] -> Elt.t optionval merge_to_sequence : ?order:[ `Decreasing | `Increasing ] -> ?greater_or_equal_to:Elt.t -> ?less_or_equal_to:Elt.t -> t -> t -> (Elt.t, Elt.t) Base__.Set_intf.Merge_to_sequence_element.t Base.Sequence.tval to_map : t -> f:(Elt.t -> 'data) -> (Elt.t, 'data, Elt.comparator_witness) Base.Map.tval quickcheck_observer : Elt.t Core_kernel.Quickcheck.Observer.t -> t Core_kernel.Quickcheck.Observer.tval quickcheck_shrinker : Elt.t Core_kernel.Quickcheck.Shrinker.t -> t Core_kernel.Quickcheck.Shrinker.tval empty : tval singleton : Elt.t -> tval union_list : t list -> tval of_list : Elt.t list -> tval of_array : Elt.t array -> tval of_sorted_array : Elt.t array -> t Base.Or_error.tval of_sorted_array_unchecked : Elt.t array -> tval of_increasing_iterator_unchecked : len:int -> f:(int -> Elt.t) -> tval stable_dedup_list : Elt.t list -> Elt.t listval map : ('a, 'b) Core_kernel.Set_intf.Tree.t -> f:('a -> Elt.t) -> tval filter_map : ('a, 'b) Core_kernel.Set_intf.Tree.t -> f:('a -> Elt.t option) -> tval of_tree : t -> tval of_hash_set : Elt.t Core_kernel.Hash_set.t -> tval of_hashtbl_keys : (Elt.t, 'a) Core_kernel.Hashtbl.t -> tval of_map_keys : (Elt.t, 'a, Elt.comparator_witness) Base.Map.t -> tval quickcheck_generator : Elt.t Core_kernel.Quickcheck.Generator.t -> t Core_kernel.Quickcheck.Generator.t