Haskell Foldable Wats (Was: Add conspicuously missing Functor instances for tuples)

Henning Thielemann lemming at henning-thielemann.de
Tue Feb 23 09:25:57 UTC 2016

On Tue, 23 Feb 2016, Augustsson, Lennart wrote:

> The easiest way to import Data.Foldable unqualified is to rename the functions in it.
> And, IMO, there is the original problem: Data.Foldable is full of Prelude name clashes.

If you accept to write foldLength instead of 'length', then you can as 
well leave the names in Data.Foldable, import with qualification Fold and 
write Fold.length. That's how I did it before FTP and continue to do.

More information about the Libraries mailing list