On Sun, Feb 02, 2003 at 11:33:52AM -0600, Hamilton Richards wrote:
> Version: November 2002
> 
> Platform: Mac OS X 10.2.3
> 
> Problem: Redefining Prelude names no longer requires explicit hiding.
> 
> Example:
> 
> script.lhs:
> --------------------
> > module M where
> 
> > length = 5
> --------------------

This is legal (5.5.2 of the Revised Report), as long as there is no
unqualified reference to length in the module, e.g.

        module M where
        length = 5
        f = M.length

is OK, but

        module M where
        length = 5
        f = length

is ambiguous.
_______________________________________________
Hugs-Bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/hugs-bugs

Reply via email to