Composable, streaming, and efficient left folds

Version on this page:1.0.11@rev:1
LTS Haskell 21.22:1.4.15@rev:1
Stackage Nightly 2023-11-30:1.4.15@rev:1
Latest on Hackage:1.4.15@rev:1

See all snapshots foldl appears in

BSD-3-Clause licensed by Gabriel Gonzalez
Maintained by
This version can be pinned in stack with:foldl-1.0.11@sha256:527e91eb4be5fbe35ce0feedb8674cac9d71ae5981723a3515c8a4bff5586132,1399

Module documentation for 1.0.11

This library provides strict left folds that stream in constant memory, and you can combine folds using Applicative style to derive new folds. Derived folds still traverse the container just once and are often as efficient as hand-written folds.