Commit 16e5ce14 authored by simonpj@microsoft.com's avatar simonpj@microsoft.com

Remove redundant imports, now that NoImplicitPrelude does not imply RebindableSyntax

parent 27310e0d
......@@ -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 )
......
......@@ -47,7 +47,6 @@ import Unsafe.Coerce
#ifdef __GLASGOW_HASKELL__
import GHC.Base
import GHC.Show
import GHC.Num
import GHC.Exception
#endif
......
......@@ -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_)
......
......@@ -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 )
......
......@@ -46,7 +46,6 @@ module GHC.Conc.IO
#endif
) where
import Control.Monad
import Foreign
import GHC.Base
import GHC.Conc.Sync as Sync
......
......@@ -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)
......
......@@ -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 )
......
......@@ -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"
......
......@@ -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
......
......@@ -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#
......
......@@ -20,7 +20,6 @@ module GHC.ST where
import GHC.Base
import GHC.Show
import GHC.Num
default ()
\end{code}
......
......@@ -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"
......
......@@ -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)
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment