Remove redundant imports, now that NoImplicitPrelude does not imply RebindableSyntax
authorsimonpj@microsoft.com <unknown>
Fri, 22 Oct 2010 14:31:57 +0000 (14:31 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 22 Oct 2010 14:31:57 +0000 (14:31 +0000)
15 files changed:
Control/OldException.hs
Data/Dynamic.hs
Data/Typeable.hs
Foreign/Marshal/Alloc.hs
GHC/Conc/IO.hs
GHC/Conc/Signal.hs
GHC/Conc/Sync.lhs
GHC/ForeignPtr.hs
GHC/IO/Handle/FD.hs
GHC/Pack.lhs
GHC/ST.lhs
GHC/Unicode.hs
System/Event/Control.hs
System/Event/Manager.hs
System/Timeout.hs

index f0435d6..4fa787f 100644 (file)
@@ -132,7 +132,6 @@ module Control.OldException {-# DEPRECATED "Future versions of base will not sup
 
 #ifdef __GLASGOW_HASKELL__
 import GHC.Base
-import GHC.Num
 import GHC.Show
 -- import GHC.IO ( IO )
 import GHC.IO.Handle.FD ( stdout )
index 458497b..9b007d4 100644 (file)
@@ -47,7 +47,6 @@ import Unsafe.Coerce
 #ifdef __GLASGOW_HASKELL__
 import GHC.Base
 import GHC.Show
-import GHC.Num
 import GHC.Exception
 #endif
 
index 3fec639..e606294 100644 (file)
@@ -93,7 +93,7 @@ import GHC.Base
 import GHC.Show         (Show(..), ShowS,
                          shows, showString, showChar, showParen)
 import GHC.Err          (undefined)
-import GHC.Num          (Integer, fromInteger, (+))
+import GHC.Num          (Integer, (+))
 import GHC.Real         ( rem, Ratio )
 import GHC.IORef        (IORef,newIORef)
 import GHC.IO           (unsafePerformIO,mask_)
index bbc2b98..5c86155 100644 (file)
@@ -68,7 +68,6 @@ import GHC.Real
 import GHC.Ptr
 import GHC.Err
 import GHC.Base
-import GHC.Num
 #elif defined(__NHC__)
 import NHC.FFI                  ( FinalizerPtr, CInt(..) )
 import IO                       ( bracket )
index ee0013c..785239c 100644 (file)
@@ -46,7 +46,6 @@ module GHC.Conc.IO
 #endif
         ) where
 
-import Control.Monad
 import Foreign
 import GHC.Base
 import GHC.Conc.Sync as Sync
index 8871b34..6d300c6 100644 (file)
@@ -21,7 +21,6 @@ import GHC.Conc.Sync (forkIO)
 import GHC.IO (mask_, unsafePerformIO)
 import GHC.IOArray (IOArray, boundsIOArray, newIOArray, unsafeReadIOArray,
                     unsafeWriteIOArray)
-import GHC.Num (fromInteger)
 import GHC.Real (fromIntegral)
 import GHC.Word (Word8)
 
index b00c851..a75eee8 100644 (file)
@@ -97,7 +97,6 @@ import GHC.IO.Exception
 import GHC.Exception
 import GHC.IORef
 import GHC.MVar
-import GHC.Num          ( Num(..) )
 import GHC.Real         ( fromIntegral )
 import GHC.Pack         ( packCString# )
 import GHC.Show         ( Show(..), showString )
index 0d22e4e..8206241 100644 (file)
@@ -46,7 +46,6 @@ import GHC.IORef
 import GHC.STRef        ( STRef(..) )
 import GHC.Ptr          ( Ptr(..), FunPtr(..) )
 import GHC.Err
-import GHC.Num          ( fromInteger )
 
 #include "Typeable.h"
 
index 98b7472..9a319fe 100644 (file)
@@ -21,7 +21,6 @@ module GHC.IO.Handle.FD (
  ) where
 
 import GHC.Base
-import GHC.Num
 import GHC.Real
 import GHC.Show
 import Data.Maybe
index 47c10ec..f3e9609 100644 (file)
@@ -37,7 +37,6 @@ module GHC.Pack
 import GHC.Base
 import GHC.List ( length )
 import GHC.ST
-import GHC.Num
 import GHC.Ptr
 
 data ByteArray ix              = ByteArray        ix ix ByteArray#
index 7d8e0e2..e3e24bf 100644 (file)
@@ -20,7 +20,6 @@ module GHC.ST where
 
 import GHC.Base
 import GHC.Show
-import GHC.Num
 
 default ()
 \end{code}
index c97e1db..baca833 100644 (file)
@@ -31,7 +31,6 @@ module GHC.Unicode (
 import GHC.Base
 import GHC.Real        (fromIntegral)
 import Foreign.C.Types (CInt)
-import GHC.Num         (fromInteger)
 
 #include "HsBaseConfig.h"
 
index 75a5ad0..159cbce 100644 (file)
@@ -27,7 +27,6 @@ import Control.Monad (when)
 import Foreign.ForeignPtr (ForeignPtr)
 import GHC.Base
 import GHC.Conc.Signal (Signal)
-import GHC.Num (Num(..))
 import GHC.Real (fromIntegral)
 import GHC.Show (Show)
 import GHC.Word (Word8)
index a4579f6..46569eb 100644 (file)
@@ -53,7 +53,7 @@ import GHC.Base
 import GHC.Conc.Signal (runHandlers)
 import GHC.List (filter)
 import GHC.Num (Num(..))
-import GHC.Real ((/), fromIntegral, fromRational)
+import GHC.Real ((/), fromIntegral )
 import GHC.Show (Show(..))
 import System.Event.Clock (getCurrentTime)
 import System.Event.Control
index f27a936..431f709 100644 (file)
@@ -27,7 +27,6 @@ import Control.Concurrent  (forkIO, threadDelay, myThreadId, killThread)
 import Control.Exception   (Exception, handleJust, throwTo, bracket)
 import Data.Typeable
 import Data.Unique         (Unique, newUnique)
-import GHC.Num
 
 -- An internal type that is thrown as a dynamic exception to
 -- interrupt the running IO computation when the timeout has