-{-# OPTIONS -fno-implicit-prelude #-}
+{-# OPTIONS_GHC -XNoImplicitPrelude #-}
-----------------------------------------------------------------------------
-- |
-- Module : System.IO.Unsafe
-----------------------------------------------------------------------------
module System.IO.Unsafe (
- -- * Unsafe 'IO' operations
- unsafePerformIO, -- :: IO a -> a
- unsafeInterleaveIO, -- :: IO a -> IO a
+ -- * Unsafe 'System.IO.IO' operations
+ unsafePerformIO, -- :: IO a -> a
+ unsafeInterleaveIO, -- :: IO a -> IO a
) where
#ifdef __GLASGOW_HASKELL__
-import GHC.IOBase
+import GHC.IO (unsafePerformIO, unsafeInterleaveIO)
#endif
#ifdef __HUGS__
-import Hugs.IOExts
+import Hugs.IOExts (unsafePerformIO, unsafeInterleaveIO)
#endif
+
+#ifdef __NHC__
+import NHC.Internal (unsafePerformIO, unsafeInterleaveIO)
+#endif
+