What are ZMZN and ->Z1T in a ghc space profile?

Robert Ennals Robert.Ennals@cl.cam.ac.uk
Fri, 16 Nov 2001 08:46:06 +0000

> I searched on google, but had no luck.
> My program is an implementation of 
> http://www-aig.jpl.nasa.gov/public/home/gat/lisp-study.html
> in haskell, and the dictionary read in is rather large
> (900Kb) so I assume most of the space should be [[Char]]

Zxxx is the way GHC encodes operator names into something friendly to C.

For a description of the translation, it is probably easiest to look at the relevent GHC source code, available online as:


This URL will probably get broken up by my mailer. The file is basicTypes/OccName.lhs

But, to answer your emmediate question:

ZMZM = []  - The list Nil constructor
Z1T = ( )  - The 1-tuple constructor