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(..))
_______________________________________________
Hugs-Bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/hugs-bugs

Reply via email to