fold

open fun fold(M: Monoid<A>, source: S): A

Fold using the given Monoid instance.