It's not spurious.  Both

        M.sort
and
        Data.List.sort

are in scope under both names:

        sort and M.sort

And that makes it ambiguous according to the spec.

Simon

| -----Original Message-----
| From: Ross Paterson [mailto:[EMAIL PROTECTED]]
| Sent: 06 January 2003 12:01
| To: [EMAIL PROTECTED]
| Subject: spurious export conflict
| 
| GHC reports an export conflict on the following:
| 
|       module M where
|       import List as M
|       sort = "foo"
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| [EMAIL PROTECTED]
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to