[commit: packages/base] ghc-7.8: Tweak Haddock markup in Data.Typeable (673e8e2)

git at git.haskell.org git at git.haskell.org
Tue Feb 25 16:34:00 UTC 2014


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

On branch  : ghc-7.8
Link       : http://ghc.haskell.org/trac/ghc/changeset/673e8e22a99e020ea51ca483e6bbf815bdd07849/base

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

commit 673e8e22a99e020ea51ca483e6bbf815bdd07849
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>
    (cherry picked from commit c7e0ea387bc9364bb9af33aec0f710db19765963)


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

673e8e22a99e020ea51ca483e6bbf815bdd07849
 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 cd226f6..4b9db90 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