On Mon, Oct 06, 2003 at 09:38:13AM -0700, Iavor Diatchki wrote:
> there seems to be a bug in the module system implementation:
> 
> > module Test where
> > import Prelude hiding (negate)
> > negate  = not
> > test    = negate
> 
> ERROR "Test.lhs":7 - Ambiguous variable occurrence "negate"
> *** Could refer to: Test.negate Hugs.Prelude.negate

Lucky hit -- it seems this only affects Prelude method names grabbed
by Hugs for desugaring: negate, enumFrom, enumFromThen, enumFromTo,
enumFromThenTo and rangeSize.
_______________________________________________
Hugs-Bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/hugs-bugs

Reply via email to