[commit: ghc] master: Tweak Haddock in GHC.Types (4e020b3)

git at git.haskell.org git at git.haskell.org
Sat Aug 9 19:44:42 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/4e020b33f6d5e86d1a60761ea1c63900d501c475/ghc

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

commit 4e020b33f6d5e86d1a60761ea1c63900d501c475
Author: Reid Barton <rwbarton at gmail.com>
Date:   Sat Aug 9 14:01:20 2014 -0400

    Tweak Haddock in GHC.Types


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

4e020b33f6d5e86d1a60761ea1c63900d501c475
 libraries/ghc-prim/GHC/Types.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libraries/ghc-prim/GHC/Types.hs b/libraries/ghc-prim/GHC/Types.hs
index f6f4233..e9f1428 100644
--- a/libraries/ghc-prim/GHC/Types.hs
+++ b/libraries/ghc-prim/GHC/Types.hs
@@ -163,7 +163,7 @@ data (~) a b = Eq# ((~#) a b)
 data Coercible a b = MkCoercible ((~#) a b)
 -- Also see Note [Kind-changing of (~) and Coercible]
 
--- | Alias for tagToEnum#. Returns True of its parameter is 1# and False
+-- | Alias for 'tagToEnum#'. Returns True if its parameter is 1# and False
 --   if it is 0#.
 
 {-# INLINE isTrue# #-}
@@ -225,7 +225,7 @@ isTrue# x = tagToEnum# x
 -- you're reading this in 2023 then things went wrong). See #8326.
 --
 
--- | SPEC is used by GHC in the @SpecConstr@ pass in order to inform
+-- | 'SPEC' is used by GHC in the @SpecConstr@ pass in order to inform
 -- the compiler when to be particularly aggressive. In particular, it
 -- tells GHC to specialize regardless of size or the number of
 -- specializations. However, not all loops fall into this category.



More information about the ghc-commits mailing list