b897a707c96ca78255996f0bf2bd1f1d4bbc9b14
[ghc-hetmet.git] / ghc / compiler / prelude / PrelMods.lhs
1 %
2 % (c) The GRASP/AQUA Project, Glasgow University, 1992-1996
3 %
4 \section[PrelMods]{Definitions of prelude modules}
5
6 The strings identify built-in prelude modules.  They are
7 defined here so as to avod 
8
9 [oh dear, looks like the recursive module monster caught up with
10  and gobbled whoever was writing the above :-) -- SOF ]
11
12 \begin{code}
13 #include "HsVersions.h"
14
15 module PrelMods
16         (
17          gHC__, pRELUDE, pREL_BASE,
18          pREL_READ , pREL_NUM, pREL_LIST,
19          pREL_TUP  , pACKED_STRING, cONC_BASE,
20          iO_BASE   , mONAD, rATIO, iX,
21          sT_BASE   , aRR_BASE, fOREIGN, mAIN,
22          gHC_MAIN  , gHC_ERR
23         ) where
24
25 CHK_Ubiq() -- debugging consistency check
26
27 \end{code}
28
29 \begin{code}
30 gHC__        = SLIT("GHC")         -- Primitive types and values
31
32 pRELUDE      = SLIT("Prelude")
33 pREL_BASE    = SLIT("PrelBase")
34 pREL_READ    = SLIT("PrelRead")
35 pREL_NUM     = SLIT("PrelNum")
36 pREL_LIST    = SLIT("PrelList")
37 pREL_TUP     = SLIT("PrelTup")
38 pACKED_STRING= SLIT("PackedString")
39 cONC_BASE    = SLIT("ConcBase")
40 iO_BASE      = SLIT("IOBase")
41 mONAD        = SLIT("Monad")
42 rATIO        = SLIT("Ratio")
43 iX           = SLIT("Ix")
44 sT_BASE      = SLIT("STBase")
45 aRR_BASE     = SLIT("ArrBase")
46 fOREIGN      = SLIT("Foreign")
47
48 mAIN         = SLIT("Main")
49 gHC_MAIN     = SLIT("GHCmain")
50 gHC_ERR      = SLIT("GHCerr")
51
52
53
54 \end{code}