Package: effect
Module: Iterable
Reduce an Iterable from the left, keeping all intermediate results instead of only the final result.
Signature
declare const scan: { <B, A>(b: B, f: (b: B, a: A) => B): (self: Iterable<A>) => Iterable<B>; <A, B>(self: Iterable<A>, b: B, f: (b: B, a: A) => B): Iterable<B>; }
Since v2.0.0