[commit: packages/base] ghc-7.8: Minor fixes to Haddock markup (b367878)

git at git.haskell.org git at git.haskell.org
Tue Feb 25 11:05:03 UTC 2014


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

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

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

commit b367878772200ff037451be8d9b3ad8ab40478df
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sun Feb 16 22:03:17 2014 +0100

    Minor fixes to Haddock markup
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>
    (cherry picked from commit 6f6f29b34574bc9ed49cc44f0e18596f829c75df)


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

b367878772200ff037451be8d9b3ad8ab40478df
 Data/Bits.hs        |    2 +-
 GHC/IO/Exception.hs |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Data/Bits.hs b/Data/Bits.hs
index c6bd8da..c06caf9 100644
--- a/Data/Bits.hs
+++ b/Data/Bits.hs
@@ -72,7 +72,7 @@ The 'Bits' class defines bitwise operations over integral types.
 Minimal complete definition: '.&.', '.|.', 'xor', 'complement',
 ('shift' or ('shiftL' and 'shiftR')), ('rotate' or ('rotateL' and 'rotateR')),
 'bitSize', 'isSigned', 'testBit', 'bit', and 'popCount'.  The latter three can
-be implemented using `testBitDefault', 'bitDefault, and 'popCountDefault', if
+be implemented using `testBitDefault', 'bitDefault', and 'popCountDefault', if
 @a@ is also an instance of 'Num'.
 -}
 class Eq a => Bits a where
diff --git a/GHC/IO/Exception.hs b/GHC/IO/Exception.hs
index 8691477..7f5bc4e 100644
--- a/GHC/IO/Exception.hs
+++ b/GHC/IO/Exception.hs
@@ -145,9 +145,9 @@ data AsyncException
         -- the program should take action to reduce the amount of
         -- live data it has. Notes:
         --
-        --      * It is undefined which thread receives this exception.
+        --   * It is undefined which thread receives this exception.
         --
-        --      * GHC currently does not throw 'HeapOverflow' exceptions.
+        --   * GHC currently does not throw 'HeapOverflow' exceptions.
   | ThreadKilled
         -- ^This exception is raised by another thread
         -- calling 'Control.Concurrent.killThread', or by the system



More information about the ghc-commits mailing list