diff options
Diffstat (limited to 'libraries/base/System/Info.hs')
-rw-r--r-- | libraries/base/System/Info.hs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/libraries/base/System/Info.hs b/libraries/base/System/Info.hs new file mode 100644 index 0000000000..b588aafb56 --- /dev/null +++ b/libraries/base/System/Info.hs @@ -0,0 +1,32 @@ +----------------------------------------------------------------------------- +-- +-- Module : System.Info +-- Copyright : (c) The University of Glasgow 2001 +-- License : BSD-style (see the file libraries/core/LICENSE) +-- +-- Maintainer : libraries@haskell.org +-- Stability : provisional +-- Portability : portable +-- +-- $Id: Info.hs,v 1.1 2001/06/28 14:15:04 simonmar Exp $ +-- +-- Misc information about the characteristics of the host +-- architecture/machine lucky enough to run your program. +-- +----------------------------------------------------------------------------- + +#include "MachDeps.h" + +module System.Info + ( + os, -- :: String + arch -- :: String + ) where + +import Prelude + +arch :: String +arch = HOST_ARCH + +os :: String +os = HOST_OS |