Trim unused imports detected by new unused-import code
[ghc-hetmet.git] / compiler / main / BreakArray.hs
index 60d1410..2d1a4d4 100644 (file)
 --
 -----------------------------------------------------------------------------
 
-{-# OPTIONS -w #-}
--- The above warning supression flag is a temporary kludge.
--- While working on this module you are encouraged to remove it and fix
--- any warnings in the module. See
---     http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings
--- for details
-
 module BreakArray
   ( BreakArray
 #ifdef GHCI
@@ -33,8 +26,11 @@ module BreakArray
   ) where
 #ifdef GHCI
 import GHC.Exts
-import GHC.IOBase
-import GHC.Word
+#if __GLASGOW_HASKELL__ >= 611
+import GHC.IO ( IO(..) )
+#else
+import GHC.IOBase ( IO(..) )
+#endif
 import Constants
 
 data BreakArray = BA (MutableByteArray# RealWorld)