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

git at git.haskell.org git at git.haskell.org
Sun Jan 29 20:17:54 UTC 2017


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

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

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

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

    Add quick compatibility note


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

d78b3fdddc868a11a5992a88f10a3a4f5643078d
 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