@lucid-softworks/iterable-scan
v0.1.0
Published
Lazily yield intermediate iterable reductions.
Maintainers
Readme
@lucid-softworks/iterable-scan
Lazily yield intermediate iterable reductions.
import { scanIterable } from "@lucid-softworks/iterable-scan";
[...scanIterable([1, 2], (sum, value) => sum + value, 0)];See the exported types and tests for exact edge-case behavior.
