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