[commit: ghc] wip/ttypeable: Add quick compatibility note (4c99c66)

git at git.haskell.org git at git.haskell.org
Mon Jun 6 11:12:02 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/ttypeable
Link       : http://ghc.haskell.org/trac/ghc/changeset/4c99c66e2e38f2a50ba4c98a75c2a60bed587d29/ghc

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

commit 4c99c66e2e38f2a50ba4c98a75c2a60bed587d29
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Fri Mar 11 17:32:13 2016 +0100

    Add quick compatibility note


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

4c99c66e2e38f2a50ba4c98a75c2a60bed587d29
 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