2 % (c) The GRASP/AQUA Project, Glasgow University, 1992-1994
4 \section[LIE]{Id instance environment}
6 This is not really an ``environment.''
9 #include "HsVersions.h"
13 mkLIE, nullLIE, unitLIE, unMkLIE, plusLIE,
15 -- imported things so this module's interface is self-contained
24 %************************************************************************
26 \subsection[LIE-building]{Building LIEs}
28 %************************************************************************
31 data LIE = MkLIE [Inst]
38 unMkLIE :: LIE -> [Inst]
39 unMkLIE (MkLIE insts) = insts
41 plusLIE :: LIE -> LIE -> LIE
42 plusLIE (MkLIE lie1) (MkLIE lie2)
43 = MkLIE (lie1 ++ lie2)