[commit: ghc] wip/ttypeable: Add quick compatibility note (724c585)

git at git.haskell.org git at git.haskell.org
Sat Oct 1 21:33:33 UTC 2016


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

On branch  : wip/ttypeable
Link       : http://ghc.haskell.org/trac/ghc/changeset/724c5853c18e20b45a3c6a28b836dd707e753566/ghc

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

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

    Add quick compatibility note


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

724c5853c18e20b45a3c6a28b836dd707e753566
 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