git.haskell.org
/
packages
/
base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
739277e
)
In the deprecation warning for mkTyCon, suggest deriving Typeable.
author
Simon Marlow
<marlowsd@gmail.com>
Mon, 11 Jul 2011 12:47:13 +0000
(13:47 +0100)
committer
Simon Marlow
<marlowsd@gmail.com>
Mon, 11 Jul 2011 12:47:13 +0000
(13:47 +0100)
Data/Typeable.hs
patch
|
blob
|
history
diff --git
a/Data/Typeable.hs
b/Data/Typeable.hs
index
688c2aa
..
8858ab5
100644
(file)
--- 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