ebe4463bfd57818469d74633efeabde72cf7c28e
[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 -- $Id: Unsafe.hs,v 1.1 2001/06/28 14:15:04 simonmar Exp $
12 --
13 -- "Unsafe" IO operations.
14 --
15 -----------------------------------------------------------------------------
16
17 module System.IO.Unsafe (
18    unsafePerformIO,     -- :: IO a -> a
19    unsafeInterleaveIO,  -- :: IO a -> IO a
20   ) where
21
22 import Prelude
23
24 #ifdef __GLASGOW_HASKELL__
25 import GHC.IOBase
26 #endif