News for hackers. Stuff that matters.
Re:It never makes sense to use foldl on lists in Haskell (2019) by pansa2 on Saturday March 21, 2020 @04:31AM (#22645330)
Although `foldr` accumulates the result right-to-left, it processes the list left-to-right, which allows it to short-circuit.

`reduceRight` processes and accumulates right-to-left, so it doesn’t have the short-circuiting ability of `foldr`.

Re:It never makes sense to use foldl on lists in Haskell (2019) by skrebbel on Saturday March 21, 2020 @05:22AM (#22645450)
Right! Super clear, thanks :-)