summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Maybe.hs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/base/GHC/Maybe.hs')
-rw-r--r--libraries/base/GHC/Maybe.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/GHC/Maybe.hs b/libraries/base/GHC/Maybe.hs
index 9fcf8b717d..373fd48714 100644
--- a/libraries/base/GHC/Maybe.hs
+++ b/libraries/base/GHC/Maybe.hs
@@ -19,7 +19,7 @@ default ()
-- @'Maybe' a@ either contains a value of type @a@ (represented as @'Just' a@),
-- or it is empty (represented as 'Nothing'). Using 'Maybe' is a good way to
-- deal with errors or exceptional cases without resorting to drastic
--- measures such as 'error'.
+-- measures such as 'Prelude.error'.
--
-- The 'Maybe' type is also a monad. It is a simple kind of error
-- monad, where all errors are represented by 'Nothing'. A richer