summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Cacqueray <tdecacqu@redhat.com>2020-03-23 19:02:27 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-03-25 22:42:06 -0400
commit6d172e63f3dd3590b0a57371efb8f924f1fcdf05 (patch)
tree9a104278f466a75e995637868350b54a2f6a19fe
parent1c5a15f7d257d0a2ded4850e38b6174965a7735b (diff)
downloadhaskell-6d172e63f3dd3590b0a57371efb8f924f1fcdf05.tar.gz
Base: add markup around Except
-rw-r--r--libraries/base/Control/Applicative.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/Control/Applicative.hs b/libraries/base/Control/Applicative.hs
index e898bf8c04..6c05eec843 100644
--- a/libraries/base/Control/Applicative.hs
+++ b/libraries/base/Control/Applicative.hs
@@ -146,7 +146,7 @@ instance Alternative ZipList where
--
-- ==== __Examples__
--
--- Using the Control.Monad.Except as an Alternative, a couple of functions:
+-- Using the 'Alternative' instance of `Control.Monad.Except`, the following functions:
--
-- >>> canFail = throwError "it failed" :: Except String Int
-- >>> final = return 42 :: Except String Int