22 Sep
2003
22 Sep
'03
9:08 a.m.
On Sun, Sep 21, 2003 at 09:16:19PM +0200, Andrew Frank wrote:
i seem to have a problem with a qualified import of the prelude in hugs nov03, haskell extensions, under windows:
Reading file "C:\gisTheoryCodeSept03\lib\Language\Value240.hs": ERROR "C:\gisTheoryCodeSept03\lib\Language\Value240.hs":207 - Ambiguous variable occurrence "quotRem" *** Could refer to: Language.Value240.quotRem Hugs.Prelude.quotRem
There is a bug buried in all this: for import qualified Prelude hiding (Integral) Hugs is erroneously importing the methods of Integral unqualified. This is now fixed in CVS. Possible workarounds are import qualified Prelude or import qualified Prelude hiding (Integral(..))