[Haskell] Re: ANN: ListLike, a generic interface over list-like structures

Bas van Dijk v.dijk.bas at gmail.com
Mon Sep 17 19:14:57 EDT 2007


On 9/17/07, John Goerzen <jgoerzen at complete.org> wrote:
> That does show one annoying property of typeclasses: instances too
> easily appear and are impossible to replace.

The problem would be solved if it was possible to explicitly import
and export instance declarations.

I asked this before [1] but I actually almost never had the need for
it. But then I'm not a library writer...

It would be nice to know how serious this problem is. Are there other
people that have had a similar problem?

Thanks,

Bas


[1] http://www.haskell.org/pipermail/haskell-prime/2006-November/001843.html


More information about the Haskell mailing list