From 45a9696c550c5fe5e891b6d4710179272dc9f6db Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Tue, 16 Dec 2014 13:27:18 +0100 Subject: Fix broken Haddock markup in `Monad` documentation --- libraries/base/GHC/Base.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libraries') diff --git a/libraries/base/GHC/Base.hs b/libraries/base/GHC/Base.hs index 25596e0d6c..44085a2efa 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. -- cgit v1.2.1