[commit: packages/base] master: Minor fixes to Haddock markup (6f6f29b)
git at git.haskell.org
git at git.haskell.org
Fri Feb 21 09:44:38 UTC 2014
Repository : ssh://git@git.haskell.org/base
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/6f6f29b34574bc9ed49cc44f0e18596f829c75df/base
>---------------------------------------------------------------
commit 6f6f29b34574bc9ed49cc44f0e18596f829c75df
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>
>---------------------------------------------------------------
6f6f29b34574bc9ed49cc44f0e18596f829c75df
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