foldLeftFirst<C> method
C
foldLeftFirst<C>(
- C b,
- C f(
- C b,
- T1 a
Return value of type C
by calling f
with b
and the first value of the Tuple2.
Same as foldRightFirst
.
Implementation
C foldLeftFirst<C>(C b, C Function(C b, T1 a) f) =>
foldMapFirst<Endo<C>>(dualEndoMonoid(), (a) => (C b) => f(b, a))(b);