[cvs-nhc98] patch applied (hat): Make hat option -tracefns work
again and im/export workers and infos.
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 07:23:07 EDT 2006
Wed Dec 18 06:09:20 PST 2002 olaf
* 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.
M ./src/hattrans/AuxLabelAST.hs -2 +2
M ./src/hattrans/PrettyTraceId.hs -2 +2
M ./src/hattrans/TraceId.hs -5 +9
M ./src/hattrans/TraceTrans.hs -42 +59
More information about the Cvs-nhc98
mailing list