spurious export conflict

Simon Peyton-Jones simonpj at microsoft.com
Mon Jan 6 12:36:47 EST 2003


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 at soi.city.ac.uk]
| Sent: 06 January 2003 12:01
| To: glasgow-haskell-bugs at haskell.org
| 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 at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs



More information about the Glasgow-haskell-bugs mailing list