Base.ContainerSourceContinue_or_stop.t is used by the f argument to fold_until in order to indicate whether folding should continue, or stop early.
Generic definitions of container operations in terms of fold.
include Derivedval fold_until :
fold:('t, 'a, 'acc) fold ->
init:'acc ->
f:('acc -> 'a -> ('acc, 'final) Continue_or_stop.t) ->
finish:('acc -> 'final) ->
't ->
'finalGeneric definitions of container operations in terms of iter and length.
The idiom for using Container.Make is to bind the resulting module and to explicitly import each of the functions that one wants:
module Make0_with_creators
(T : sig ... end) :
S0_with_creators with type t := T.t and type elt := T.Elt.tmodule Make_gen_with_creators
(T : sig ... end) :
Generic_with_creators
with type ('a, 'phantom) t := ('a, 'phantom) T.t
and type 'a elt := 'a T.elt
and type ('a, 'phantom) concat := ('a, 'phantom) T.concat