Strict folds without base case to `Data.Foldable`.

Ignat Insarov kindaro at gmail.com
Wed Jun 30 10:50:11 UTC 2021


Hello.

I notice that in `"base" Data.Foldable` there are strict left and
right folds, but no corresponding folds without base case, that is,
`foldl1'` and `foldr1'`. Can this omission be ameliorated? The
implementation is trivial.


More information about the Libraries mailing list