db67a2027187171912ef0da6150a49d7443824e6
[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/core/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    unsafePerformIO,     -- :: IO a -> a
17    unsafeInterleaveIO,  -- :: IO a -> IO a
18   ) where
19
20 import Prelude
21
22 #ifdef __GLASGOW_HASKELL__
23 import GHC.IOBase
24 #endif