Proposal: Foldable typeclass: make foldl' and foldr' class methods

wren ng thornton wren at
Mon Jun 20 21:26:31 CEST 2011

On 6/20/11 3:14 PM, Dan Doel wrote:
> Actually, the prelude doesn't contain foldl', because it wasn't in
Haskell 98. You only get it from Data.List.

Ah, my bad. It comes loaded by default on my GHCi so I figured Prelude. 
It's been a while since I actually looked in there <chagrin/>

(The breakage would look about the same, only it's even less likely now)

Live well,

More information about the Libraries mailing list