Re: transitive imports & hiding
"Sigbjorn Finne" <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.hugs.bugs |
|---|---|
| Message-ID | <02e801c25385$ec08ca30$1e32a8c0@sofxp> |
Thanks, fixed in a local copy (changes hopefully committed before the day is up.) --sigbjorn ----- Original Message ----- From: "Ross Paterson" <[email protected]> To: <[email protected]> Sent: Monday, September 02, 2002 13:31 Subject: transitive imports & hiding > With these modules: > > module A(function, Class(method)) where > function = id > class Class a where method :: a > > module B(function, Class(..)) where > import A > > module C where > import B hiding (function) > f = method > > hugs C.hs yields > ERROR "C.hs":3 - Undefined variable "method"