Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : new-typeable

http://hackage.haskell.org/trac/ghc/changeset/34c4648a6a7173cdace96057920b3873f0f16eb0

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

commit 34c4648a6a7173cdace96057920b3873f0f16eb0
Author: Jose Pedro Magalhaes <[email protected]>
Date:   Wed Sep 26 12:58:52 2012 +0100

    Restore this deprecated function

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

 Data/Typeable/Internal.hs |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/Data/Typeable/Internal.hs b/Data/Typeable/Internal.hs
index a31d329..49ac80b 100644
--- a/Data/Typeable/Internal.hs
+++ b/Data/Typeable/Internal.hs
@@ -178,6 +178,11 @@ typeRepTyCon (TypeRep _ tc _) = tc
 typeRepArgs :: TypeRep -> [TypeRep]
 typeRepArgs (TypeRep _ _ args) = args
 
+-- | Observe string encoding of a type representation
+{-# DEPRECATED tyConString "renamed to tyConName; tyConModule and tyConPackage 
are also available." #-}
+tyConString :: TyCon   -> String
+tyConString = tyConName
+
 -------------------------------------------------------------
 --
 --      The Typeable class and friends



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to