type !'elt t = ('elt, Base__.Comparator.Poly.comparator_witness) tval is_empty : 'a t -> boolval iter : 'a t -> f:('a -> unit) -> unitval fold : 'a t -> init:'acc -> f:('acc -> 'a -> 'acc) -> 'accval fold_result :
'a t ->
init:'acc ->
f:('acc -> 'a -> ('acc, 'e) result) ->
('acc, 'e) resultval exists : 'a t -> f:('a -> bool) -> boolval for_all : 'a t -> f:('a -> bool) -> boolval count : 'a t -> f:('a -> bool) -> intval sum :
(module Base__Container_intf.Summable with type t = 'sum) ->
'a t ->
f:('a -> 'sum) ->
'sumval find : 'a t -> f:('a -> bool) -> 'a optionval find_map : 'a t -> f:('a -> 'b option) -> 'b optionval to_list : 'a t -> 'a listval to_array : 'a t -> 'a arrayval invariants : 'a t -> boolval mem : 'a t -> 'a -> boolval add : 'a t -> 'a -> 'a tval remove : 'a t -> 'a -> 'a tval union : 'a t -> 'a t -> 'a tval inter : 'a t -> 'a t -> 'a tval diff : 'a t -> 'a t -> 'a tval symmetric_diff :
'a t ->
'a t ->
('a, 'a) Base__.Either0.t Base__.Sequence.tval compare_direct : 'a t -> 'a t -> intval equal : 'a t -> 'a t -> boolval is_subset : 'a t -> of_:'a t -> boolval are_disjoint : 'a t -> 'a t -> boolmodule Named : sig ... endval fold_until :
'a t ->
init:'acc ->
f:('acc -> 'a -> ('acc, 'final) Base__.Container.Continue_or_stop.t) ->
finish:('acc -> 'final) ->
'finalval fold_right : 'a t -> init:'acc -> f:('a -> 'acc -> 'acc) -> 'accval iter2 :
'a t ->
'a t ->
f:([ `Both of 'a * 'a | `Left of 'a | `Right of 'a ] -> unit) ->
unitval filter : 'a t -> f:('a -> bool) -> 'a tval partition_tf : 'a t -> f:('a -> bool) -> 'a t * 'a tval elements : 'a t -> 'a listval min_elt : 'a t -> 'a optionval min_elt_exn : 'a t -> 'aval max_elt : 'a t -> 'a optionval max_elt_exn : 'a t -> 'aval choose : 'a t -> 'a optionval choose_exn : 'a t -> 'aval split : 'a t -> 'a -> 'a t * 'a option * 'a tval split_le_gt : 'a t -> 'a -> 'a t * 'a tval split_lt_ge : 'a t -> 'a -> 'a t * 'a tval group_by : 'a t -> equiv:('a -> 'a -> bool) -> 'a t listval find_exn : 'a t -> f:('a -> bool) -> 'aval nth : 'a t -> int -> 'a optionval remove_index : 'a t -> int -> 'a tval to_tree : 'a t -> 'a treeval to_sequence :
?order:[ `Decreasing | `Increasing ] ->
?greater_or_equal_to:'a ->
?less_or_equal_to:'a ->
'a t ->
'a Base__.Sequence.tval binary_search :
'a t ->
compare:('a -> '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 ->
'a optionval binary_search_segmented :
'a t ->
segment_of:('a -> [ `Left | `Right ]) ->
[ `First_on_right | `Last_on_left ] ->
'a optionval merge_to_sequence :
?order:[ `Decreasing | `Increasing ] ->
?greater_or_equal_to:'a ->
?less_or_equal_to:'a ->
'a t ->
'a t ->
('a, 'a) Base__Set_intf.Merge_to_sequence_element.t Base__.Sequence.tval singleton : 'a -> 'a tval union_list : 'a t list -> 'a tval of_list : 'a list -> 'a tval of_sequence : 'a Base__.Sequence.t -> 'a tval of_array : 'a array -> 'a tval of_sorted_array : 'a array -> ('a t, Base__.Info.t) resultval of_sorted_array_unchecked : 'a array -> 'a tval of_increasing_iterator_unchecked : len:int -> f:(int -> 'a) -> 'a tval stable_dedup_list : 'a list -> 'a listval map : ('a, 'c) set -> f:('a -> 'b) -> 'b tval filter_map : ('a, 'c) set -> f:('a -> 'b option) -> 'b tval of_tree : 'a tree -> 'a t