foldRight<B> method
B
foldRight<B>(
- B z,
- B f(
- A a,
- B previous
Implementation
B foldRight<B>(B z, B f(A a, B previous)) => foldMap<Endo<B>>(endoMi(), curry2(f))(z);