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

Simon Jakobi simon.jakobi at googlemail.com
Wed Jun 30 10:59:42 UTC 2021


This was discussed in December 2020:
https://mail.haskell.org/pipermail/libraries/2020-December/031010.html

Am Mi., 30. Juni 2021 um 12:49 Uhr schrieb Ignat Insarov <kindaro at gmail.com>:
>
> 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.
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries


More information about the Libraries mailing list