Moving Foldable.foldl' inside the type class

Johan Tibell johan.tibell at gmail.com
Fri Feb 18 01:34:34 CET 2011


Hi all,

It would be nice if foldl' was moved inside the Foldable type class.
Right now you get terrible performance if you use foldl' from
Foldable. Ironically it'll also use O(n) space. Someone should move
the function inside the type class.

Johan



More information about the Libraries mailing list