summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi-yao Xia <lysxia@gmail.com>2021-10-22 09:07:34 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-11-10 09:16:21 -0500
commit95563259847454efdacfbbff9f28de040089132f (patch)
treead50ecc2c1048ff4e3ea94cb0025f23d07d27d6b
parentbdd7b2be6e61f24d467e7b4881b7309d524e2034 (diff)
downloadhaskell-95563259847454efdacfbbff9f28de040089132f.tar.gz
Fix rendering of Applicative law
-rw-r--r--libraries/base/GHC/Base.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/GHC/Base.hs b/libraries/base/GHC/Base.hs
index e670e42ee8..14d4f1ab51 100644
--- a/libraries/base/GHC/Base.hs
+++ b/libraries/base/GHC/Base.hs
@@ -645,7 +645,7 @@ class Functor f where
--
-- * @'pure' = 'return'@
--
--- * @m1 '<*>' m2 = m1 '>>=' (\x1 -> m2 '>>=' (\x2 -> 'return' (x1 x2)))@
+-- * @m1 '<*>' m2 = m1 '>>=' (\\x1 -> m2 '>>=' (\\x2 -> 'return' (x1 x2)))@
--
-- * @('*>') = ('>>')@
--