@effect-ts/system
Version:
Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.
10 lines (9 loc) • 316 B
JavaScript
import * as FoldChunks from "./foldChunks.mjs";
/**
* A sink that folds its input chunks with the provided function and initial state.
* `f` must preserve chunking-invariance.
*/
export function foldLeftChunks(z, f) {
return FoldChunks.foldChunks(z, _ => true, f);
}
//# sourceMappingURL=foldLeftChunks.mjs.map