module system problem

Iavor Diatchki <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
hello,
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


bye
iavor

-- 
==================================================
| Iavor S. Diatchki, Ph.D. student               |
| Department of Computer Science and Engineering |
| School of OGI at OHSU                          |
| http://www.cse.ogi.edu/~diatchki               |
==================================================
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.