Module type Container.Generic
val is_empty : _ t -> boolval iter : 'a t -> f:( 'a elt -> unit ) -> unitval fold : 'a t -> init:'accum -> f:( 'accum -> 'a elt -> 'accum ) -> 'accumval fold_result :
'a t ->
init:'accum ->
f:( 'accum -> 'a elt -> ( 'accum, 'e ) Result.t ) ->
( 'accum, 'e ) Result.tval fold_until :
'a t ->
init:'accum ->
f:
( 'accum ->
'a elt ->
( 'accum, 'final ) Base__Container_intf.Export.Continue_or_stop.t ) ->
finish:( 'accum -> 'final ) ->
'finalval exists : 'a t -> f:( 'a elt -> bool ) -> boolval for_all : 'a t -> f:( 'a elt -> bool ) -> boolval count : 'a t -> f:( 'a elt -> bool ) -> intval sum :
(module Base__Container_intf.Summable with type t = 'sum) ->
'a t ->
f:( 'a elt -> 'sum ) ->
'sumval find : 'a t -> f:( 'a elt -> bool ) -> 'a elt optionval find_map : 'a t -> f:( 'a elt -> 'b option ) -> 'b optionval to_list : 'a t -> 'a elt listval to_array : 'a t -> 'a elt arrayval min_elt : 'a t -> compare:( 'a elt -> 'a elt -> int ) -> 'a elt optionval max_elt : 'a t -> compare:( 'a elt -> 'a elt -> int ) -> 'a elt option