diff options
author | Steve Hart <steve@stevehart.net> | 2019-01-09 22:21:38 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-01-16 14:17:42 -0500 |
commit | 4204ed581821df7f0a58d823347966ec541e1d99 (patch) | |
tree | bd7692fe949b6aa5ebb15a86c8dd418e6f8e3059 | |
parent | 8d594beff68a6b12cdc8ccbd0cfc3e11cf184bfc (diff) | |
download | haskell-4204ed581821df7f0a58d823347966ec541e1d99.tar.gz |
Fix typo in maybeToList documentation
-rw-r--r-- | libraries/base/Data/Maybe.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/Data/Maybe.hs b/libraries/base/Data/Maybe.hs index 2a3e0efe7f..c3049f30ed 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 'Nothing'. +-- 'Nothing' or a singleton list when not given 'Just'. -- -- ==== __Examples__ -- |