[project @ 2002-05-10 16:18:28 by simonmar]
[ghc-base.git] / System / IO / Unsafe.hs
1 -----------------------------------------------------------------------------
2 -- |
3 -- Module      :  System.IO.Unsafe
4 -- Copyright   :  (c) The University of Glasgow 2001
5 -- License     :  BSD-style (see the file libraries/base/LICENSE)
6 -- 
7 -- Maintainer  :  libraries@haskell.org
8 -- Stability   :  provisional
9 -- Portability :  portable
10 --
11 -- \"Unsafe\" IO operations.
12 --
13 -----------------------------------------------------------------------------
14
15 module System.IO.Unsafe (
16    -- * Unsafe 'IO' operations
17    unsafePerformIO,     -- :: IO a -> a
18    unsafeInterleaveIO,  -- :: IO a -> IO a
19   ) where
20
21 import Prelude
22
23 #ifdef __GLASGOW_HASKELL__
24 import GHC.IOBase
25 #endif