hugs gets confused when 2 modules are imported with the same name
With this module: module Q (foo) where import List as Foo import Maybe as Foo foo = Foo.find hugs says ERROR tt.lhs:7 - Undefined qualified variable "Foo.find" "5.3.3 Local aliases" in the report makes it clear that this should be allowed. Thanks Ian
Thanks, just wanted to acknowledge that this is a bug, but also to let you know that it won't be fixed in time for the December 2001 release of Hugs98. It has been recorded as a bug, and hopefully will be addressed sometime soon (along with other module system infelicities). --sigbjorn ----- Original Message ----- From: "Ian Lynagh" <igloo@earth.li> To: <hugs-bugs@haskell.org> Sent: Friday, December 14, 2001 08:13 Subject: hugs gets confused when 2 modules are imported with the same name
With this module:
module Q (foo) where
import List as Foo import Maybe as Foo
foo = Foo.find
hugs says
ERROR tt.lhs:7 - Undefined qualified variable "Foo.find"
"5.3.3 Local aliases" in the report makes it clear that this should be allowed.
Thanks Ian
_______________________________________________ Hugs-Bugs mailing list Hugs-Bugs@haskell.org http://www.haskell.org/mailman/listinfo/hugs-bugs
participants (2)
-
Ian Lynagh -
Sigbjorn Finne