[project @ 2002-07-16 16:08:58 by ross]
[packages/old-locale.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
26
27 #ifdef __HUGS__
28 import Hugs.IOExts
29 #endif