Repository : ssh://darcs.haskell.org//srv/darcs/packages/base On branch : master
http://hackage.haskell.org/trac/ghc/changeset/2513e4b47b114801153eaf492284353c56645347 >--------------------------------------------------------------- commit 2513e4b47b114801153eaf492284353c56645347 Author: Simon Marlow <[email protected]> Date: Tue Nov 8 14:47:13 2011 +0000 export tyConName, tyConModule and tyConPackage; deprecate tyConString >--------------------------------------------------------------- Data/Typeable.hs | 3 +++ Data/Typeable/Internal.hs | 1 + 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Data/Typeable.hs b/Data/Typeable.hs index d995212..16c24c9 100644 --- a/Data/Typeable.hs +++ b/Data/Typeable.hs @@ -51,6 +51,9 @@ module Data.Typeable TyCon, -- abstract, instance of: Eq, Show, Typeable tyConString, -- :: TyCon -> String + tyConPackage, -- :: TyCon -> String + tyConModule, -- :: TyCon -> String + tyConName, -- :: TyCon -> String -- * Construction of type representations mkTyCon, -- :: String -> TyCon diff --git a/Data/Typeable/Internal.hs b/Data/Typeable/Internal.hs index 93218a8..86c62bc 100644 --- a/Data/Typeable/Internal.hs +++ b/Data/Typeable/Internal.hs @@ -186,6 +186,7 @@ typeRepArgs :: TypeRep -> [TypeRep] typeRepArgs (TypeRep _ _ args) = args -- | Observe string encoding of a type representation +{-# DEPRECATED tyConString "renamed to tyConName; tyConMdoule and tyConPackage are also available." #-} tyConString :: TyCon -> String tyConString = tyConName _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
