
13 Aug
2004
13 Aug
'04
6:37 p.m.
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