Container.DerivedGeneric definitions of container operations in terms of fold.
E.g.: iter ~fold t ~f = fold t ~init:() ~f:(fun () a -> f a).
val 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, _, int) fold -> 't -> intval to_list : fold:('t, 'a, 'a list) fold -> 't -> 'a listval 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.
val is_empty : iter:('t, 'a) iter -> 't -> boolval mem : iter:('t, 'a) iter -> 't -> 'a -> equal:('a -> 'a -> bool) -> 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 option