`sig
type ('a, 'phantom) t
type 'a elt
val length : ('a, 'b) t -> int
val is_empty : ('a, 'b) t -> bool
val iter : ('a, 'b) t -> f:('a elt -> unit) -> unit
val fold :
('a, 'b) t -> init:'accum -> f:('accum -> 'a elt -> 'accum) -> 'accum
val exists : ('a, 'b) t -> f:('a elt -> bool) -> bool
val for_all : ('a, 'b) t -> f:('a elt -> bool) -> bool
val count : ('a, 'b) t -> f:('a elt -> bool) -> int
val sum :
(module Commutative_group.S with type t = 'sum) ->
('a, 'b) t -> f:('a elt -> 'sum) -> 'sum
val find : ('a, 'b) t -> f:('a elt -> bool) -> 'a elt option
val find_map : ('a, 'c) t -> f:('a elt -> 'b option) -> 'b option
val to_list : ('a, 'b) t -> 'a elt list
val to_array : ('a, 'b) t -> 'a elt array
type ('a, 'cmp) tree
type ('a, 'cmp, 'z) options
type 'cmp cmp
val invariants :
('a, 'cmp, ('a, 'cmp) t -> bool) Core_set_intf.Accessors_generic.options
val mem :
('a, 'cmp, ('a, 'cmp) t -> 'a elt -> bool)
Core_set_intf.Accessors_generic.options
val add :
('a, 'cmp, ('a, 'cmp) t -> 'a elt -> ('a, 'cmp) t)
Core_set_intf.Accessors_generic.options
val remove :
('a, 'cmp, ('a, 'cmp) t -> 'a elt -> ('a, 'cmp) t)
Core_set_intf.Accessors_generic.options
val union :
('a, 'cmp, ('a, 'cmp) t -> ('a, 'cmp) t -> ('a, 'cmp) t)
Core_set_intf.Accessors_generic.options
val inter :
('a, 'cmp, ('a, 'cmp) t -> ('a, 'cmp) t -> ('a, 'cmp) t)
Core_set_intf.Accessors_generic.options
val diff :
('a, 'cmp, ('a, 'cmp) t -> ('a, 'cmp) t -> ('a, 'cmp) t)
Core_set_intf.Accessors_generic.options
val symmetric_diff :
('a, 'cmp,
('a, 'cmp) t -> ('a, 'cmp) t -> ('a elt, 'a elt) Either.t Sequence.t)
Core_set_intf.Accessors_generic.options
val compare_direct :
('a, 'cmp, ('a, 'cmp) t -> ('a, 'cmp) t -> int)
Core_set_intf.Accessors_generic.options
val equal :
('a, 'cmp, ('a, 'cmp) t -> ('a, 'cmp) t -> bool)
Core_set_intf.Accessors_generic.options
val subset :
('a, 'cmp, ('a, 'cmp) t -> ('a, 'cmp) t -> bool)
Core_set_intf.Accessors_generic.options
val fold_until :
('a, 'c) t ->
init:'b -> f:('b -> 'a elt -> [ `Continue of 'b | `Stop of 'b ]) -> 'b
val fold_right : ('a, 'c) t -> init:'b -> f:('a elt -> 'b -> 'b) -> 'b
val iter2 :
('a, 'cmp,
('a, 'cmp) t ->
('a, 'cmp) t ->
f:([ `Both of 'a elt * 'a elt | `Left of 'a elt | `Right of 'a elt ] ->
unit) ->
unit)
Core_set_intf.Accessors_generic.options
val filter :
('a, 'cmp, ('a, 'cmp) t -> f:('a elt -> bool) -> ('a, 'cmp) t)
Core_set_intf.Accessors_generic.options
val partition_tf :
('a, 'cmp,
('a, 'cmp) t -> f:('a elt -> bool) -> ('a, 'cmp) t * ('a, 'cmp) t)
Core_set_intf.Accessors_generic.options
val elements : ('a, 'b) t -> 'a elt list
val min_elt : ('a, 'b) t -> 'a elt option
val min_elt_exn : ('a, 'b) t -> 'a elt
val max_elt : ('a, 'b) t -> 'a elt option
val max_elt_exn : ('a, 'b) t -> 'a elt
val choose : ('a, 'b) t -> 'a elt option
val choose_exn : ('a, 'b) t -> 'a elt
val split :
('a, 'cmp,
('a, 'cmp) t -> 'a elt -> ('a, 'cmp) t * 'a elt option * ('a, 'cmp) t)
Core_set_intf.Accessors_generic.options
val group_by :
('a, 'cmp,
('a, 'cmp) t -> equiv:('a elt -> 'a elt -> bool) -> ('a, 'cmp) t list)
Core_set_intf.Accessors_generic.options
val find_exn : ('a, 'b) t -> f:('a elt -> bool) -> 'a elt
val find_index : ('a, 'b) t -> int -> 'a elt option
val remove_index :
('a, 'cmp, ('a, 'cmp) t -> int -> ('a, 'cmp) t)
Core_set_intf.Accessors_generic.options
val to_tree :
('a, 'cmp) t -> ('a elt, 'cmp) Core_set_intf.Accessors_generic.tree
val to_sequence :
('a, 'cmp,
?order:[ `Decreasing | `Increasing ] ->
?greater_or_equal_to:'a elt ->
?less_or_equal_to:'a elt -> ('a, 'cmp) t -> 'a elt Sequence.t)
Core_set_intf.Accessors_generic.options
val to_map :
('a, 'cmp,
('a, 'cmp) t ->
f:('a elt -> 'b) ->
('a elt, 'b, 'cmp Core_set_intf.Accessors_generic.cmp) Map.t)
Core_set_intf.Accessors_generic.options
end`