Remove unused imports
authorIan Lynagh <igloo@earth.li>
Tue, 7 Jul 2009 11:58:10 +0000 (11:58 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 7 Jul 2009 11:58:10 +0000 (11:58 +0000)
GHC/Conc.lhs
GHC/ConsoleHandler.hs
GHC/IO/Encoding/Iconv.hs
GHC/IO/FD.hs

index 4318825..444d3fc 100644 (file)
@@ -133,9 +133,7 @@ import GHC.Read         ( Read )
 import GHC.Enum         ( Enum )
 #endif
 import GHC.Pack         ( packCString# )
-import GHC.Ptr          ( Ptr(..) )
 import GHC.Show         ( Show(..), showString )
-import Data.Typeable
 import GHC.Err
 
 infixr 0 `par`, `pseq`
index af115b8..1300c96 100644 (file)
@@ -18,7 +18,6 @@
 module GHC.ConsoleHandler
 #if !defined(mingw32_HOST_OS) && !defined(__HADDOCK__)
         where
-import Prelude -- necessary to get dependencies right
 #else /* whole file */
         ( Handler(..)
         , installHandler
@@ -30,8 +29,6 @@ import Prelude -- necessary to get dependencies right
 #include "Signals.h"
 -}
 
-import Prelude -- necessary to get dependencies right
-
 import Foreign
 import Foreign.C
 import GHC.IO.FD
index a935a25..b8fcfd9 100644 (file)
@@ -35,8 +35,6 @@ import Foreign
 import Foreign.C
 import Data.Maybe
 import GHC.Base
-import GHC.Word
-import GHC.IO
 import GHC.IO.Buffer
 import GHC.IO.Encoding.Types
 import GHC.Num
index bf7c619..8e52584 100644 (file)
@@ -30,7 +30,9 @@ import GHC.Real
 import GHC.Show
 import GHC.Enum
 import Data.Maybe
--- import Control.Monad
+#ifndef mingw32_HOST_OS
+import Control.Monad
+#endif
 import Data.Typeable
 
 import GHC.IO