include Container.Generic_phantom
val length : (_, _) t ‑> int
val is_empty : (_, _) t ‑> bool
val fold_until : ('a, _) t ‑> init:'accum ‑> f:('accum ‑> 'a elt ‑> ('accum, 'stop) Container_intf.Continue_or_stop.t) ‑> ('accum, 'stop) Container_intf.Finished_or_stopped_early.t
val sum : (module Commutative_group.S with type t = 'sum) ‑> ('a, _) t ‑> f:('a elt ‑> 'sum) ‑> 'sum
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.
val fold_until : ('a, _) t ‑> init:'b ‑> f:('b ‑> 'a elt ‑> ('b, 'stop) Continue_or_stop.t) ‑> ('b, 'stop) Finished_or_stopped_early.t
val merge_to_sequence : ('a, 'cmp, ?order:[ `Increasing | `Decreasing ] ‑> ?greater_or_equal_to:'a elt ‑> ?less_or_equal_to:'a elt ‑> ('a, 'cmp) t ‑> ('a, 'cmp) t ‑> ('a elt, 'a elt) Merge_to_sequence_element.t Sequence.t) options