summaryrefslogtreecommitdiff
path: root/libraries/ghc-prim
diff options
context:
space:
mode:
authorReid Barton <rwbarton@gmail.com>2014-08-09 14:01:20 -0400
committerReid Barton <rwbarton@gmail.com>2014-08-09 14:07:05 -0400
commit4e020b33f6d5e86d1a60761ea1c63900d501c475 (patch)
tree55be3a821ad2056037d6979ac64117409daadb1b /libraries/ghc-prim
parenta2ac57b4026380467304823a225fea05dcba1abc (diff)
downloadhaskell-4e020b33f6d5e86d1a60761ea1c63900d501c475.tar.gz
Tweak Haddock in GHC.Types
Diffstat (limited to 'libraries/ghc-prim')
-rw-r--r--libraries/ghc-prim/GHC/Types.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/ghc-prim/GHC/Types.hs b/libraries/ghc-prim/GHC/Types.hs
index f6f4233b5b..e9f142805f 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.