Provides generic signatures for container data structures.
These signatures include functions (iter, fold, exists, for_all, ...) that you
would expect to find in any container. Used by including Container.S0 or
Container.S1 in the signature for every container-like data structure (Array,
List, String, ...) to ensure a consistent interface.
These signatures extend signatures exported by Base.Container_intf.
include module type of sig ... endmodule type S0 = Base__.Container_intf.S0module type S0_phantom = Base__.Container_intf.S0_phantommodule type S1 = Base__.Container_intf.S1module type S1_phantom = Base__.Container_intf.S1_phantommodule type Generic = Base__.Container_intf.Genericmodule type Generic_phantom = Base__.Container_intf.Generic_phantomval count : fold:('t, 'a, int) fold ‑> 't ‑> f:('a ‑> bool) ‑> intval min_elt : fold:('t, 'a, 'a option) fold ‑> 't ‑> compare:('a ‑> 'a ‑> int) ‑> 'a optionval max_elt : fold:('t, 'a, 'a option) fold ‑> 't ‑> compare:('a ‑> 'a ‑> int) ‑> 'a optionval length : fold:('t, 'a, int) fold ‑> 't ‑> intval to_list : fold:('t, 'a, 'a list) fold ‑> 't ‑> 'a listval to_array : fold:('t, 'a, 'a list) fold ‑> 't ‑> 'a arrayval sum : fold:('t, 'a, 'sum) fold ‑> (module Base.Commutative_group.S with type t = 'sum) ‑> 't ‑> f:('a ‑> 'sum) ‑> 'sumval fold_result : fold:('t, 'a, 'b) fold ‑> init:'b ‑> f:('b ‑> 'a ‑> ('b, 'e) Base.Result.t) ‑> 't ‑> ('b, 'e) Base.Result.tval fold_until : fold:('t, 'a, 'b) fold ‑> init:'b ‑> f:('b ‑> 'a ‑> ('b, 'final) Continue_or_stop.t) ‑> finish:('b ‑> 'final) ‑> 't ‑> 'finalval is_empty : iter:('t, 'a) iter ‑> 't ‑> boolval exists : iter:('t, 'a) iter ‑> 't ‑> f:('a ‑> bool) ‑> boolval for_all : iter:('t, 'a) iter ‑> 't ‑> f:('a ‑> bool) ‑> boolval find : iter:('t, 'a) iter ‑> 't ‑> f:('a ‑> bool) ‑> 'a optionval find_map : iter:('t, 'a) iter ‑> 't ‑> f:('a ‑> 'b option) ‑> 'b optionmodule Make = Base__Container.Makemodule Make0 = Base__Container.Make0module type S1_permissions = Core_kernel.Container_intf.S1_permissions