[project @ 2002-04-24 16:31:37 by simonmar]
[ghc-base.git] / System / Info.hs
1 -----------------------------------------------------------------------------
2 -- |
3 -- Module      :  System.Info
4 -- Copyright   :  (c) The University of Glasgow 2001
5 -- License     :  BSD-style (see the file libraries/core/LICENSE)
6 -- 
7 -- Maintainer  :  libraries@haskell.org
8 -- Stability   :  experimental
9 -- Portability :  portable
10 --
11 -- $Id: Info.hs,v 1.3 2002/04/24 16:31:45 simonmar Exp $
12 --
13 -- Misc information about the characteristics of the host 
14 -- architecture/machine lucky enough to run your program.
15 --
16 -----------------------------------------------------------------------------
17
18 #include "MachDeps.h"
19
20 module System.Info
21    (
22        os,                  -- :: String
23        arch                 -- :: String
24    ) where
25
26 import Prelude
27
28 arch :: String
29 arch = HOST_ARCH
30
31 os :: String
32 os = HOST_OS