[commit: ghc] wip/generalized-arrow: Add quick compatibility note (49f625d)
git at git.haskell.org
git at git.haskell.org
Mon Mar 21 17:10:38 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/generalized-arrow
Link : http://ghc.haskell.org/trac/ghc/changeset/49f625d2f7defcecf6db0a77373e4a6629bc3a08/ghc
>---------------------------------------------------------------
commit 49f625d2f7defcecf6db0a77373e4a6629bc3a08
Author: Ben Gamari <ben at smart-cactus.org>
Date: Fri Mar 11 17:32:13 2016 +0100
Add quick compatibility note
>---------------------------------------------------------------
49f625d2f7defcecf6db0a77373e4a6629bc3a08
libraries/base/Data/Typeable.hs | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/libraries/base/Data/Typeable.hs b/libraries/base/Data/Typeable.hs
index f33ac48..486c5b8 100644
--- a/libraries/base/Data/Typeable.hs
+++ b/libraries/base/Data/Typeable.hs
@@ -28,6 +28,11 @@
--
-- == Compatibility Notes
--
+-- Since GHC 8.2, GHC has supported type-indexed type representations.
+-- "Data.Typeable" provides type representations which are qualified over this
+-- index, providing an interface very similar to the "Typeable" notion seen in
+-- previous releases. For the type-indexed interface, see "Data.Reflection".
+--
-- Since GHC 7.8, 'Typeable' is poly-kinded. The changes required for this might
-- break some old programs involving 'Typeable'. More details on this, including
-- how to fix your code, can be found on the
More information about the ghc-commits
mailing list