[cvs-nhc98] Made -prelude option of hat-trans work.

User olaf olaf@sparud.net
Wed, 23 Jan 2002 19:22:56 +0100 (CET)


olaf: Wed Jan 23 19:22:56 CET 2002

Update of /usr/src/master/nhc/src/compiler98
In directory hinken:/tmp/cvs-serv6818/src/compiler98

Modified Files:
	AuxFile.hs HatTrans.hs PrettySyntax.hs Syntax.hs TraceTrans.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