Module type Foldable.WITH_FOLD_RIGHT

Minimal definition using fold_right.

type 'a t

The type held by Foldable.

val fold_right : ('a -> 'b -> 'b) -> 'a t -> 'b -> 'b

Same of List.fold_right for Foldable.