folds should not materialize lists
Opened this issue · 0 comments
matthewleon commented
At least foldl and foldMap should be possible to build without materializing an intermediate list.
I'll give this a try and benchmark, unless someone sees a good reason not to.