[commit: base] master: In the deprecation warning for mkTyCon, suggest deriving Typeable. (790a6ac)

Simon Marlow marlowsd at gmail.com
Tue Jul 12 12:37:53 CEST 2011


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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/790a6ac6f19767ffa4ee162683df3f3cee0b50d1

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

commit 790a6ac6f19767ffa4ee162683df3f3cee0b50d1
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Mon Jul 11 13:47:13 2011 +0100

    In the deprecation warning for mkTyCon, suggest deriving Typeable.

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

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

diff --git a/Data/Typeable.hs b/Data/Typeable.hs
index 688c2aa..8858ab5 100644
--- a/Data/Typeable.hs
+++ b/Data/Typeable.hs
@@ -160,7 +160,7 @@ newtype TypeRepKey = TypeRepKey Fingerprint
 
 ----------------- Construction ---------------------
 
-{-# DEPRECATED mkTyCon "use mkTyCon3 instead" #-}
+{-# DEPRECATED mkTyCon "either derive Typeable, or use mkTyCon3 instead" #-}
 -- | Backwards-compatible API
 mkTyCon :: String       -- ^ unique string
         -> TyCon        -- ^ A unique 'TyCon' object





More information about the Cvs-libraries mailing list