[commit: ghc] master: Fix broken Haddock markup in `Monad` documentation (45a9696)

git at git.haskell.org git at git.haskell.org
Tue Dec 16 12:29:16 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/45a9696c550c5fe5e891b6d4710179272dc9f6db/ghc

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

commit 45a9696c550c5fe5e891b6d4710179272dc9f6db
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Tue Dec 16 13:27:18 2014 +0100

    Fix broken Haddock markup in `Monad` documentation


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

45a9696c550c5fe5e891b6d4710179272dc9f6db
 libraries/base/GHC/Base.hs | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libraries/base/GHC/Base.hs b/libraries/base/GHC/Base.hs
index 25596e0..44085a2 100644
--- a/libraries/base/GHC/Base.hs
+++ b/libraries/base/GHC/Base.hs
@@ -444,10 +444,10 @@ Furthermore, the 'Monad' and 'Applicative' operations should relate as follows:
 * @'pure' = 'return'@
 * @('<*>') = 'ap'@
 
-The above laws imply that
+The above laws imply:
 
-* @'fmap' f xs  =  xs '>>=' 'return' . f@,
-* @('>>') = ('*>')
+* @'fmap' f xs  =  xs '>>=' 'return' . f@
+* @('>>') = ('*>')@
 
 and that 'pure' and ('<*>') satisfy the applicative functor laws.
 



More information about the ghc-commits mailing list