[commit: ghc] typeable-with-kinds: Remove unused imports to prevent warning, which leads to validation failure. (db64f55)

git at git.haskell.org git at git.haskell.org
Thu Feb 12 01:11:49 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : typeable-with-kinds
Link       : http://ghc.haskell.org/trac/ghc/changeset/db64f55dc4d90a9f2ede2c0a46b41c1c0adb4a80/ghc

>---------------------------------------------------------------

commit db64f55dc4d90a9f2ede2c0a46b41c1c0adb4a80
Author: Iavor S. Diatchki <diatchki at galois.com>
Date:   Wed Feb 11 17:13:42 2015 -0800

    Remove unused imports to prevent warning, which leads to validation failure.


>---------------------------------------------------------------

db64f55dc4d90a9f2ede2c0a46b41c1c0adb4a80
 libraries/base/Data/Typeable/Internal.hs | 24 +++---------------------
 1 file changed, 3 insertions(+), 21 deletions(-)

diff --git a/libraries/base/Data/Typeable/Internal.hs b/libraries/base/Data/Typeable/Internal.hs
index bf73611..46ab53e 100644
--- a/libraries/base/Data/Typeable/Internal.hs
+++ b/libraries/base/Data/Typeable/Internal.hs
@@ -47,33 +47,15 @@ module Data.Typeable.Internal (
     typeRepArgs,
     showsTypeRep,
     tyConString,
-    listTc, funTc
+    listTc, funTc,
+    typeRepKinds,
+    typeLitTypeRep
   ) where
 
 import GHC.Base
 import GHC.Word
 import GHC.Show
-import GHC.Read ( Read )
 import Data.Proxy
-import GHC.Num
-import GHC.Real
--- import GHC.IORef
--- import GHC.IOArray
--- import GHC.MVar
-import GHC.ST           ( ST, STret )
-import GHC.STRef        ( STRef )
-import GHC.Ptr          ( Ptr, FunPtr )
--- import GHC.Stable
-import GHC.Arr          ( Array, STArray, Ix )
-import GHC.TypeLits ( Nat, Symbol, KnownNat, KnownSymbol, natVal', symbolVal' )
-import Data.Type.Coercion
-import Data.Type.Equality
-import Text.ParserCombinators.ReadP ( ReadP )
-import Text.Read.Lex ( Lexeme, Number )
-import Text.ParserCombinators.ReadPrec ( ReadPrec )
-import GHC.Float ( FFFormat, RealFloat, Floating )
-import Data.Bits ( Bits, FiniteBits )
-import GHC.Enum ( Bounded, Enum )
 
 import GHC.Fingerprint.Type
 import {-# SOURCE #-} GHC.Fingerprint



More information about the ghc-commits mailing list