[commit: ghc] wip/tc/typeable-with-kinds: Remove unused imports to prevent warning, which leads to validation failure. (09d522f)

git at git.haskell.org git at git.haskell.org
Sat Mar 7 16:43:58 UTC 2015


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

On branch  : wip/tc/typeable-with-kinds
Link       : http://ghc.haskell.org/trac/ghc/changeset/09d522f67f4c68e64e25a9f2e51da05f251bbcc5/ghc

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

commit 09d522f67f4c68e64e25a9f2e51da05f251bbcc5
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.


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

09d522f67f4c68e64e25a9f2e51da05f251bbcc5
 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 dbc76be..9341ca9 100644
--- a/libraries/base/Data/Typeable/Internal.hs
+++ b/libraries/base/Data/Typeable/Internal.hs
@@ -50,33 +50,15 @@ module Data.Typeable.Internal (
     showsTypeRep,
     tyConString,
     rnfTyCon,
-    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