Re:What it's like to use Haskell
by AaronFriel on Wednesday March 26, 2014 @02:16PM
(#7475223)
Yes. Most recommendations for implementing recursion in Haskell that I've seen have amounted to writing it in terms of folds. You gain the benefit of experts vetting the code, and novices being able to understand what it is doing it a glance.
Wouldn't adding some bangs in the patterns kind of do the same thing as using foldl'?