[commit: packages/base] master: Tweak Haddock markup in Data.Typeable (c7e0ea3)
git at git.haskell.org
git at git.haskell.org
Tue Feb 25 16:33:31 UTC 2014
Repository : ssh://git@git.haskell.org/base
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/c7e0ea387bc9364bb9af33aec0f710db19765963/base
>---------------------------------------------------------------
commit c7e0ea387bc9364bb9af33aec0f710db19765963
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Tue Feb 25 17:25:44 2014 +0100
Tweak Haddock markup in Data.Typeable
Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>
>---------------------------------------------------------------
c7e0ea387bc9364bb9af33aec0f710db19765963
Data/Typeable.hs | 6 ++++--
Data/Typeable/Internal.hs | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/Data/Typeable.hs b/Data/Typeable.hs
index 4086d05..f658a9e 100644
--- a/Data/Typeable.hs
+++ b/Data/Typeable.hs
@@ -35,10 +35,12 @@
-- and type-safe cast (but not dynamics) to support the \"Scrap your
-- boilerplate\" style of generic programming.
--
+-- == Compatibility Notes
+--
-- 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, are on the wiki page:
--- <https://ghc.haskell.org/trac/ghc/wiki/GhcKinds/PolyTypeable>
+-- how to fix your code, can be found on the
+-- <https://ghc.haskell.org/trac/ghc/wiki/GhcKinds/PolyTypeable PolyTypeable wiki page>
--
-----------------------------------------------------------------------------
diff --git a/Data/Typeable/Internal.hs b/Data/Typeable/Internal.hs
index f8c6933..fa18bf9 100644
--- a/Data/Typeable/Internal.hs
+++ b/Data/Typeable/Internal.hs
@@ -196,7 +196,7 @@ tyConString = tyConName
class Typeable a where
typeRep# :: Proxy# a -> TypeRep
--- Takes a value of type @a@ and returns a concrete representation
+-- | Takes a value of type @a@ and returns a concrete representation
-- of that type.
--
-- /Since: 4.7.0.0/
More information about the ghc-commits
mailing list