foldLeft<B> method
B
foldLeft<B>(
- B z,
- B f(
- B previous,
- A a
Implementation
B foldLeft<B>(B z, B f(B previous, A a)) => foldMap<Endo<B>>(dualEndoMi(), curry2(flip(f)))(z);