[cvs-nhc98] Make hat option -tracefns work again and im/export workers

Olaf Chitil olaf@sparud.net
Wed, 18 Dec 2002 15:09:20 +0100 (CET)


olaf: Wed Dec 18 15:09:20 CET 2002

Update of /usr/src/master/nhc/src/hat/trans
In directory hinken:/tmp/cvs-serv3273/src/hat/trans

Modified Files:
	AuxLabelAST.hs PrettyTraceId.hs TraceId.hs TraceTrans.hs 
Log Message:
Make hat option -tracefns work again and im/export workers and infos.

-tracefns failed at runtime, because the pretty printer was not aware that AuxInfo is not necessarily for value, but may also be for a type constructor.
The abstract data type TraceId becomes more and more bizarr, could do with some refactoring.

In preparation for optimisation of known arity, the workers and nameInfos of all im/exported variables of arity > 0 are also im/exported. For this purpose workers are also defined on the same level as their wrappers.
Because of the changed import/export list this transformation requires retransformation of all libraries.