[cvs-nhc98] commit
User olaf
olaf@sparud.net
Tue, 28 Nov 2000 19:13:34 +0100 (CET)
olaf: Tue Nov 28 19:13:33 CET 2000
nhc/docs compiler-options.html
Update of /usr/src/master/nhc/docs
In directory hinken:/tmp/cvs-serv16062/docs
Modified Files:
compiler-options.html
Log Message:
Changed definition of syntax tree
from
data Fun id = Fun [Pat id] [(Exp id,Exp id)] (Decls id)
data Alt id = Alt (Pat id) [(Exp id,Exp id)] (Decls id)
to
data Fun id = Fun [Pat id] (Rhs id) (Decls id)
data Alt id = Alt (Pat id) (Rhs id) (Decls id)
data Rhs id = Unguarded (Exp id)
| Guarded [(Exp id,Exp id)] -- the list has at least one element
so that lots of artificial True guards can be omitted.
This change obviously required small changes in many modules.
It is unclear if more or less space is required now.
The prelude module DErrNo.hs seems to require more space during compilation now.