[project @ 1996-07-19 18:36:04 by partain]
[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 \begin{code}
9 #include "HsVersions.h"
10
11 module PrelMods (
12         gHC_BUILTINS, -- things that are really and truly primitive
13         pRELUDE, gHC__,
14         rATIO, iX,
15         modulesWithBuiltins
16   ) where
17
18 CHK_Ubiq() -- debugging consistency check
19 \end{code}
20
21
22 \begin{code}
23 pRELUDE      = SLIT("Prelude")
24 gHC_BUILTINS = SLIT("GHCbuiltins") -- the truly-primitive things
25 gHC__        = SLIT("GHCbase")     -- all GHC basics, add-ons, extras, everything
26                                    -- (which can be defined in Haskell)
27 rATIO        = SLIT("Ratio")
28 iX           = SLIT("Ix")
29
30 modulesWithBuiltins = [ gHC_BUILTINS, gHC__, pRELUDE, rATIO, iX ]
31 \end{code}