diff options
author | Steve Hart <steve@stevehart.net> | 2019-01-10 08:30:47 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-01-16 14:17:42 -0500 |
commit | 46d46ede77ef327966e9364800c7da52c208d8ae (patch) | |
tree | 04873e21e9f86d86f15e3f4c52a2064281dfa007 /libraries/base | |
parent | fe1f97ccdf5cbd96761d178a5f334d806e9501d0 (diff) | |
download | haskell-46d46ede77ef327966e9364800c7da52c208d8ae.tar.gz |
Improve clarity of documentation for maybeToList
Diffstat (limited to 'libraries/base')
-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..2bd0b1e00e 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 given 'Just'. -- -- ==== __Examples__ -- |