summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorSteve Hart <steve@stevehart.net>2019-01-10 08:29:29 -0500
committerBen Gamari <ben@smart-cactus.org>2019-01-16 14:17:42 -0500
commitfe1f97ccdf5cbd96761d178a5f334d806e9501d0 (patch)
tree553cc1aa6a5bba40cda7fe8806d0056086bb03fd /libraries
parent4204ed581821df7f0a58d823347966ec541e1d99 (diff)
downloadhaskell-fe1f97ccdf5cbd96761d178a5f334d806e9501d0.tar.gz
Revert "Fix typo in maybeToList documentation"
This reverts commit af210f40ce7ad7b3351abc988b0351446e8b639e
Diffstat (limited to 'libraries')
-rw-r--r--libraries/base/Data/Maybe.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/Data/Maybe.hs b/libraries/base/Data/Maybe.hs
index c3049f30ed..2a3e0efe7f 100644
--- a/libraries/base/Data/Maybe.hs
+++ b/libraries/base/Data/Maybe.hs
@@ -175,7 +175,7 @@ fromMaybe :: a -> Maybe a -> a
fromMaybe d x = case x of {Nothing -> d;Just v -> v}
-- | The 'maybeToList' function returns an empty list when given
--- 'Nothing' or a singleton list when not given 'Just'.
+-- 'Nothing' or a singleton list when not given 'Nothing'.
--
-- ==== __Examples__
--