Simon,

It also appears that if I don't call 'catch' from my module, I can import both and not have a conflict.

- Lyle

Simon Peyton-Jones wrote:

It's an explicit Haskell 98 design choice
        http://haskell.org/onlinereport/modules.html

"5.6.2  Shadowing Prelude Names

The rules about the Prelude have been cast so that it is possible to use
Prelude names for nonstandard purposes; however, every module that does
so must have an import declaration that makes this nonstandard usage
explicit."

It's a decision one could debate, but it was an explicit choice.

Simon


_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to