One nice thing about the
foldl library is that it comes
with a "Batteries Included" suite of common folds to be used with its
This package ports a lot of those combinators to use the
folds package. Since
foldl only provides left folds,
this package provides many additional folds that take advantage of
the laziness and associativity of a lot of folding operations.