[project @ 2002-04-24 16:31:37 by simonmar]
[packages/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.2 2002/04/24 16:31:45 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