Foldable.Core_via_fold_right
module Req : Preface_specs.Foldable.WITH_FOLD_RIGHT
type 'a t = 'a Req.t
The type held by Foldable.
Foldable
val fold_map' : 'a -> ('a -> 'a -> 'a) -> ('b -> 'a) -> 'b t -> 'a
Map each element of the Foldable to a Monoid an combine the result.
Monoid
val fold_right : ('a -> 'b -> 'b) -> 'a t -> 'b -> 'b
Same of List.fold_right for Foldable.
List