/** * @tsplus static Eval.Ops reduce */ export function reduce( as: Collection, b: LazyArg, f: (b: B, a: A) => Eval ): Eval { return as.reduce(Eval.succeed(b), (b, a) => b.flatMap((b) => f(b, a))) }