Make Data.Typeable imports and exports more explicit
authorIan Lynagh <igloo@earth.li>
Wed, 14 Jan 2009 23:45:12 +0000 (23:45 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 14 Jan 2009 23:45:12 +0000 (23:45 +0000)
Data/Typeable.hs-boot
Foreign/C/Types.hs
GHC/Exception.lhs

index 45be319..9da3620 100644 (file)
@@ -5,14 +5,12 @@ module Data.Typeable where
 
 import Data.Maybe
 import GHC.Base
-import GHC.Show
 
 data TypeRep
 data TyCon
 
 mkTyCon      :: String -> TyCon
 mkTyConApp   :: TyCon -> [TypeRep] -> TypeRep
-showsTypeRep :: TypeRep -> ShowS
 
 cast :: (Typeable a, Typeable b) => a -> Maybe b
 
index 5867d0c..0304b15 100644 (file)
@@ -73,7 +73,7 @@ import {-# SOURCE #-} Foreign.Storable
 import Data.Bits        ( Bits(..) )
 import Data.Int         ( Int8,  Int16,  Int32,  Int64  )
 import Data.Word        ( Word8, Word16, Word32, Word64 )
-import {-# SOURCE #-} Data.Typeable
+import {-# SOURCE #-} Data.Typeable (Typeable(typeOf), TyCon, mkTyCon, mkTyConApp)
 
 #ifdef __GLASGOW_HASKELL__
 import GHC.Base
index 4707a0c..ad10481 100644 (file)
@@ -19,7 +19,7 @@
 module GHC.Exception where
 
 import Data.Maybe
-import {-# SOURCE #-} Data.Typeable
+import {-# SOURCE #-} Data.Typeable (Typeable, cast)
 import GHC.Base
 import GHC.Show
 \end{code}