Module InferStdlib__IContainer
type 'a singleton_or_more
=
| Empty |
| Singleton of 'a |
| More |
val singleton_or_more : fold:('t, 'a, 'a singleton_or_more) InferStdlib.IStd.Container.fold -> 't -> 'a singleton_or_more
val is_singleton : fold:('t, 'a, 'a singleton_or_more) InferStdlib.IStd.Container.fold -> 't -> bool
val mem_nth : fold:('t, _, int) InferStdlib.IStd.Container.fold -> 't -> int -> bool
val forto : (int, int, 'accum) InferStdlib.IStd.Container.fold
val forto_right : (int, int, 'accum) InferStdlib.IStd.Container.fold
val to_rev_list : fold:('t, 'a, 'a list) InferStdlib.IStd.Container.fold -> 't -> 'a list
val rev_filter_to_list : fold:('t, 'a, 'a list) InferStdlib.IStd.Container.fold -> 't -> f:('a -> bool) -> 'a list
val rev_map_to_list : fold:('t, 'a, 'b list) InferStdlib.IStd.Container.fold -> 't -> f:('a -> 'b) -> 'b list
val rev_filter_map_to_list : fold:('t, 'a, 'b list) InferStdlib.IStd.Container.fold -> 't -> f:('a -> 'b option) -> 'b list
val iter_consecutive : fold:('t, 'a, 'a option) InferStdlib.IStd.Container.fold -> 't -> f:('a -> 'a -> unit) -> unit
val pp_collection : fold:('t, 'a, 'a option) InferStdlib.IStd.Container.fold -> pp_item:(F.formatter -> 'a -> unit) -> F.formatter -> 't -> unit
val filter : fold:('t, 'a, 'accum) InferStdlib.IStd.Container.fold -> filter:('a -> bool) -> ('t, 'a, 'accum) InferStdlib.IStd.Container.fold
val map : f:('a -> 'b) -> ('t, 'a, 'accum) InferStdlib.IStd.Container.fold -> ('t, 'b, 'accum) InferStdlib.IStd.Container.fold
val fold_of_pervasives_map_fold : fold:(('key -> 'value -> 'accum -> 'accum) -> 't -> 'accum -> 'accum) -> ('t, 'key * 'value, 'accum) InferStdlib.IStd.Container.fold
val iter_result : fold:('t, 'a, unit) InferStdlib.IStd.Container.fold -> 't -> f:('a -> (unit, 'err) InferStdlib.IStd.result) -> (unit, 'err) InferStdlib.IStd.result