foldMapFirst<C> method
Return value of type C
by applying f
on monoid
.
Implementation
C foldMapFirst<C>(Monoid<C> monoid, C Function(T1 a) f) =>
foldRightFirst(monoid.empty, (c, t) => monoid.combine(f(t), c));
Return value of type C
by applying f
on monoid
.
C foldMapFirst<C>(Monoid<C> monoid, C Function(T1 a) f) =>
foldRightFirst(monoid.empty, (c, t) => monoid.combine(f(t), c));