module system problem

Iavor Diatchki diatchki at cse.ogi.edu
Mon Oct 6 10:38:13 EDT 2003


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               |
==================================================



More information about the Hugs-Bugs mailing list