type (!'elt, !'cmp) t = ('elt, 'cmp) Base__Set.tval compare :
'a Base__Ppx_compare_lib.compare ->
'b Base__Ppx_compare_lib.compare ->
('a, 'b) t Base__Ppx_compare_lib.compareval invariants : ('a, 'b) t -> boolval comparator_s : ('a, 'cmp) t -> ('a, 'cmp) Base__.Comparator.Module.tval comparator : ('a, 'cmp) t -> ('a, 'cmp) Base__.Comparator.tval empty : ('a, 'cmp) Base__.Comparator.Module.t -> ('a, 'cmp) tval singleton : ('a, 'cmp) Base__.Comparator.Module.t -> 'a -> ('a, 'cmp) tval length : ('a, 'b) t -> intval is_empty : ('a, 'b) t -> boolval mem : ('a, 'b) t -> 'a -> boolval add : ('a, 'cmp) t -> 'a -> ('a, 'cmp) tval remove : ('a, 'cmp) t -> 'a -> ('a, 'cmp) tval union : ('a, 'cmp) t -> ('a, 'cmp) t -> ('a, 'cmp) tval union_list :
('a, 'cmp) Base__.Comparator.Module.t ->
('a, 'cmp) t list ->
('a, 'cmp) tval inter : ('a, 'cmp) t -> ('a, 'cmp) t -> ('a, 'cmp) tval diff : ('a, 'cmp) t -> ('a, 'cmp) t -> ('a, 'cmp) tval symmetric_diff :
('a, 'cmp) t ->
('a, 'cmp) t ->
('a, 'a) Base__.Either.t Base__.Sequence.tval compare_direct : ('a, 'cmp) t -> ('a, 'cmp) t -> intval hash_fold_direct : 'a Base__.Hash.folder -> ('a, 'cmp) t Base__.Hash.folderval equal : ('a, 'cmp) t -> ('a, 'cmp) t -> boolval exists : ('a, 'b) t -> f:('a -> bool) -> boolval for_all : ('a, 'b) t -> f:('a -> bool) -> boolval count : ('a, 'b) t -> f:('a -> bool) -> intval sum :
(module Base__.Container.Summable with type t = 'sum) ->
('a, 'b) t ->
f:('a -> 'sum) ->
'sumval find : ('a, 'b) t -> f:('a -> bool) -> 'a optionval find_map : ('a, 'c) t -> f:('a -> 'b option) -> 'b optionval find_exn : ('a, 'b) t -> f:('a -> bool) -> 'aval nth : ('a, 'b) t -> int -> 'a optionval remove_index : ('a, 'cmp) t -> int -> ('a, 'cmp) tval is_subset : ('a, 'cmp) t -> of_:('a, 'cmp) t -> boolval are_disjoint : ('a, 'cmp) t -> ('a, 'cmp) t -> boolmodule Named : sig ... endval of_list : ('a, 'cmp) Base__.Comparator.Module.t -> 'a list -> ('a, 'cmp) tval of_sequence :
('a, 'cmp) Base__.Comparator.Module.t ->
'a Base__.Sequence.t ->
('a, 'cmp) tval of_array :
('a, 'cmp) Base__.Comparator.Module.t ->
'a array ->
('a, 'cmp) tval to_list : ('a, 'b) t -> 'a listval to_array : ('a, 'b) t -> 'a arrayval of_sorted_array :
('a, 'cmp) Base__.Comparator.Module.t ->
'a array ->
('a, 'cmp) t Base__.Or_error.tval of_sorted_array_unchecked :
('a, 'cmp) Base__.Comparator.Module.t ->
'a array ->
('a, 'cmp) tval of_increasing_iterator_unchecked :
('a, 'cmp) Base__.Comparator.Module.t ->
len:int ->
f:(int -> 'a) ->
('a, 'cmp) tval stable_dedup_list :
('a, 'b) Base__.Comparator.Module.t ->
'a list ->
'a listval map :
('b, 'cmp) Base__.Comparator.Module.t ->
('a, 'c) t ->
f:('a -> 'b) ->
('b, 'cmp) tval filter_map :
('b, 'cmp) Base__.Comparator.Module.t ->
('a, 'c) t ->
f:('a -> 'b option) ->
('b, 'cmp) tval filter : ('a, 'cmp) t -> f:('a -> bool) -> ('a, 'cmp) tval fold : ('a, 'b) t -> init:'acc -> f:('acc -> 'a -> 'acc) -> 'accval fold_result :
('a, 'b) t ->
init:'acc ->
f:('acc -> 'a -> ('acc, 'e) Base__.Result.t) ->
('acc, 'e) Base__.Result.tval fold_until :
('a, 'b) t ->
init:'acc ->
f:('acc -> 'a -> ('acc, 'final) Base__.Container.Continue_or_stop.t) ->
finish:('acc -> 'final) ->
'finalval fold_right : ('a, 'b) t -> init:'acc -> f:('a -> 'acc -> 'acc) -> 'accval iter : ('a, 'b) t -> f:('a -> unit) -> unitval iter2 :
('a, 'cmp) t ->
('a, 'cmp) t ->
f:([ `Both of 'a * 'a | `Left of 'a | `Right of 'a ] -> unit) ->
unitval partition_tf :
('a, 'cmp) t ->
f:('a -> bool) ->
('a, 'cmp) t * ('a, 'cmp) tval elements : ('a, 'b) t -> 'a listval min_elt : ('a, 'b) t -> 'a optionval min_elt_exn : ('a, 'b) t -> 'aval max_elt : ('a, 'b) t -> 'a optionval max_elt_exn : ('a, 'b) t -> 'aval choose : ('a, 'b) t -> 'a optionval choose_exn : ('a, 'b) t -> 'aval split : ('a, 'cmp) t -> 'a -> ('a, 'cmp) t * 'a option * ('a, 'cmp) tval split_le_gt : ('a, 'cmp) t -> 'a -> ('a, 'cmp) t * ('a, 'cmp) tval split_lt_ge : ('a, 'cmp) t -> 'a -> ('a, 'cmp) t * ('a, 'cmp) tval group_by : ('a, 'cmp) t -> equiv:('a -> 'a -> bool) -> ('a, 'cmp) t listval to_sequence :
?order:??? ->
?greater_or_equal_to:??? ->
?less_or_equal_to:??? ->
('a, 'cmp) t ->
'a Base__.Sequence.tval binary_search :
('a, 'cmp) 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, 'cmp) t ->
segment_of:('a -> [ `Left | `Right ]) ->
[ `First_on_right | `Last_on_left ] ->
'a optionmodule Merge_to_sequence_element : sig ... endval merge_to_sequence :
?order:??? ->
?greater_or_equal_to:??? ->
?less_or_equal_to:??? ->
('a, 'cmp) t ->
('a, 'cmp) t ->
('a, 'a) Merge_to_sequence_element.t Base__.Sequence.tmodule type Sexp_of_m = sig ... endmodule type M_of_sexp = sig ... endmodule type M_sexp_grammar = sig ... endmodule type Compare_m = sig ... endmodule type Equal_m = sig ... endmodule type Hash_fold_m = sig ... endval sexp_of_m__t :
(module Sexp_of_m with type t = 'elt) ->
('elt, 'cmp) t ->
Base__.Sexp.tval m__t_of_sexp :
(module M_of_sexp with type comparator_witness = 'cmp and type t = 'elt) ->
Base__.Sexp.t ->
('elt, 'cmp) tval m__t_sexp_grammar :
(module M_sexp_grammar with type t = 'elt) ->
('elt, 'cmp) t Sexplib0.Sexp_grammar.tval compare_m__t :
(module Compare_m) ->
('elt, 'cmp) t ->
('elt, 'cmp) t ->
intval equal_m__t : (module Equal_m) -> ('elt, 'cmp) t -> ('elt, 'cmp) t -> boolval hash_fold_m__t :
(module Hash_fold_m with type t = 'elt) ->
Base__.Hash.state ->
('elt, 'a) t ->
Base__.Hash.stateval hash_m__t : (module Hash_fold_m with type t = 'elt) -> ('elt, 'a) t -> intmodule Using_comparator : sig ... endval to_tree : ('a, 'cmp) t -> ('a, 'cmp) Using_comparator.Tree.tval of_tree :
('a, 'cmp) Base__.Comparator.Module.t ->
('a, 'cmp) Using_comparator.Tree.t ->
('a, 'cmp) tmodule With_comparator : sig ... endmodule With_first_class_module : sig ... endmodule Without_comparator : sig ... endmodule type For_deriving = sig ... endmodule type S_poly = sig ... endmodule type Accessors_generic = sig ... endmodule type Creators_generic = sig ... endmodule type Creators_and_accessors_generic = sig ... endmodule type Elt_plain = sig ... endval of_map_keys :
('a, 'b, 'c) {Map}12/shadowed/(f7b6f2ec1a4db5354bbd51a10c39707d).t ->
'a {Set}14/shadowed/(f7b6f2ec1a4db5354bbd51a10c39707d).Poly.tmodule Poly : sig ... end