[cvs-nhc98] Made -prelude option of hat-trans work.
User olaf
olaf@sparud.net
Wed, 23 Jan 2002 19:22:57 +0100 (CET)
olaf: Wed Jan 23 19:22:57 CET 2002
Update of /usr/src/master/nhc/src/prelude/Hat
In directory hinken:/tmp/cvs-serv6818/src/prelude/Hat
Modified Files:
Makefile PreludeBasic.hs PreludeBuiltin.hs
PreludeBuiltinTypes.hx PreludeTracing.hs
Log Message:
Made -prelude option of hat-trans work.
Before -prelude the /include/Prelude.hx was always used; the entries of which are not even all correct for this portable Prelude.
Added all the primitive predefined types (Bool, tuples) to PreludeBuiltinTypes.hx. Also added the tuples to export lists of PreludeBasic.hs and PreludeTracing.hs.
Changed working of -prelude. Implicit import of Prelude is now handled by HatTrans.hs. That avoids unnecessary duplication.
Corrected export of show in PreludeTracing.hs