Parameter Base.Set_intf.Check_accessors.6-M

include Container.Generic_phantom
type ('a, 'phantom) t
type 'a elt
val length : (__t ‑> int
val is_empty : (__t ‑> bool
val iter : ('a_t ‑> f:('a elt ‑> unit) ‑> unit
val fold : ('a_t ‑> init:'accum ‑> f:('accum ‑> 'a elt ‑> 'accum) ‑> 'accum
val fold_result : ('a_t ‑> init:'accum ‑> f:('accum ‑> 'a elt ‑> ('accum'eResult.t) ‑> ('accum'eResult.t
val fold_until : ('a_t ‑> init:'accum ‑> f:('accum ‑> 'a elt ‑> ('accum'stopContainer_intf.Continue_or_stop.t) ‑> ('accum'stopContainer_intf.Finished_or_stopped_early.t
val exists : ('a_t ‑> f:('a elt ‑> bool) ‑> bool
val for_all : ('a_t ‑> f:('a elt ‑> bool) ‑> bool
val count : ('a_t ‑> f:('a elt ‑> bool) ‑> int
val sum : (module Commutative_group.S with type t = 'sum) ‑> ('a_t ‑> f:('a elt ‑> 'sum) ‑> 'sum
val find : ('a_t ‑> f:('a elt ‑> bool) ‑> 'a elt option
val find_map : ('a_t ‑> f:('a elt ‑> 'b option) ‑> 'b option
val to_list : ('a_t ‑> 'a elt list
val to_array : ('a_t ‑> 'a elt array
val min_elt : ('a_t ‑> cmp:('a elt ‑> 'a elt ‑> int) ‑> 'a elt option
val max_elt : ('a_t ‑> cmp:('a elt ‑> 'a elt ‑> int) ‑> 'a elt option
type ('a, 'cmp) tree
type ('a, 'cmp, 'z) options

The options type is used to make Accessors_generic flexible as to whether a comparator is required to be passed to certain functions.

type 'cmp cmp
val invariants : ('a'cmp, ('a'cmpt ‑> bool) options
val mem : ('a'cmp, ('a'cmpt ‑> 'a elt ‑> bool) options

override Container's mem

val add : ('a'cmp, ('a'cmpt ‑> 'a elt ‑> ('a'cmptoptions
val remove : ('a'cmp, ('a'cmpt ‑> 'a elt ‑> ('a'cmptoptions
val union : ('a'cmp, ('a'cmpt ‑> ('a'cmpt ‑> ('a'cmptoptions
val inter : ('a'cmp, ('a'cmpt ‑> ('a'cmpt ‑> ('a'cmptoptions
val diff : ('a'cmp, ('a'cmpt ‑> ('a'cmpt ‑> ('a'cmptoptions
val symmetric_diff : ('a'cmp, ('a'cmpt ‑> ('a'cmpt ‑> ('a elt'a eltEither.t Sequence.toptions
val compare_direct : ('a'cmp, ('a'cmpt ‑> ('a'cmpt ‑> int) options
val equal : ('a'cmp, ('a'cmpt ‑> ('a'cmpt ‑> bool) options
val is_subset : ('a'cmp, ('a'cmpt ‑> of_:('a'cmpt ‑> bool) options
val subset : ('a'cmp, ('a'cmpt ‑> ('a'cmpt ‑> bool) options
val fold_until : ('a_t ‑> init:'b ‑> f:('b ‑> 'a elt ‑> ('b'stopContinue_or_stop.t) ‑> ('b'stopFinished_or_stopped_early.t
val fold_right : ('a_t ‑> init:'b ‑> f:('a elt ‑> 'b ‑> 'b) ‑> 'b
val iter2 : ('a'cmp, ('a'cmpt ‑> ('a'cmpt ‑> f:([ `Left of 'a elt | `Right of 'a elt | `Both of 'a elt * 'a elt ] ‑> unit) ‑> unit) options
val filter : ('a'cmp, ('a'cmpt ‑> f:('a elt ‑> bool) ‑> ('a'cmptoptions
val partition_tf : ('a'cmp, ('a'cmpt ‑> f:('a elt ‑> bool) ‑> ('a'cmpt * ('a'cmptoptions
val elements : ('a_t ‑> 'a elt list
val min_elt : ('a_t ‑> 'a elt option
val min_elt_exn : ('a_t ‑> 'a elt
val max_elt : ('a_t ‑> 'a elt option
val max_elt_exn : ('a_t ‑> 'a elt
val choose : ('a_t ‑> 'a elt option
val choose_exn : ('a_t ‑> 'a elt
val split : ('a'cmp, ('a'cmpt ‑> 'a elt ‑> ('a'cmpt * 'a elt option * ('a'cmptoptions
val group_by : ('a'cmp, ('a'cmpt ‑> equiv:('a elt ‑> 'a elt ‑> bool) ‑> ('a'cmpt list) options
val find_exn : ('a_t ‑> f:('a elt ‑> bool) ‑> 'a elt
val find_index : ('a_t ‑> int ‑> 'a elt option
val nth : ('a_t ‑> int ‑> 'a elt option
val remove_index : ('a'cmp, ('a'cmpt ‑> int ‑> ('a'cmptoptions
val to_tree : ('a'cmpt ‑> ('a elt'cmptree
val to_sequence : ('a'cmp, ?⁠order:[ `Increasing | `Decreasing ] ‑> ?⁠greater_or_equal_to:'a elt ‑> ?⁠less_or_equal_to:'a elt ‑> ('a'cmpt ‑> 'a elt Sequence.toptions
val merge_to_sequence : ('a'cmp, ?⁠order:[ `Increasing | `Decreasing ] ‑> ?⁠greater_or_equal_to:'a elt ‑> ?⁠less_or_equal_to:'a elt ‑> ('a'cmpt ‑> ('a'cmpt ‑> ('a elt'a eltMerge_to_sequence_element.t Sequence.toptions