module bug?
Hamilton Richards <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.hugs.bugs |
|---|---|
| Message-ID | <p05200f07ba6304b01bdf@[192.168.1.100]> |
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 -------------------- Hugs session for: /usr/local/lib/hugs/lib/Prelude.hs script.lhs M> :t length length :: Integer In previous versions of Hugs, and in the Haskell 98 report (Section 5.6.2), changing Prelude names requires a `hiding` declaration such as > import Prelude hiding (length) Thanks, --Ham -- ------------------------------------------------------------------ Hamilton Richards Department of Computer Sciences Senior Lecturer The University of Texas at Austin 512-471-9525 1 University Station C0500 Taylor Hall 5.138 Austin, Texas 78712-1188 [email protected] [email protected] ------------------------------------------------------------------