logo       

RE: spurious export conflict: msg#00004

lang.haskell.glasgow.bugs

Subject: RE: spurious export conflict

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:ross@xxxxxxxxxxxxxx]
| Sent: 06 January 2003 12:01
| To: glasgow-haskell-bugs@xxxxxxxxxxx
| 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
| Glasgow-haskell-bugs@xxxxxxxxxxx
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise