Package: effect
Module: List
Folds over the elements of the list using the specified function, using the specified initial value.
Signature
declare const reduce: { <Z, A>(zero: Z, f: (b: Z, a: A) => Z): (self: List<A>) => Z; <A, Z>(self: List<A>, zero: Z, f: (b: Z, a: A) => Z): Z; }
Since v2.0.0