8fafec45e7311a7d19e8b658b2b321883039d2d7
[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