[commit: ghc] wip/T16197: Revert "Fix typo in maybeToList documentation" (fe1f97c)

git at git.haskell.org git at git.haskell.org
Thu Jan 17 13:59:25 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T16197
Link       : http://ghc.haskell.org/trac/ghc/changeset/fe1f97ccdf5cbd96761d178a5f334d806e9501d0/ghc

>---------------------------------------------------------------

commit fe1f97ccdf5cbd96761d178a5f334d806e9501d0
Author: Steve Hart <steve at stevehart.net>
Date:   Thu Jan 10 08:29:29 2019 -0500

    Revert "Fix typo in maybeToList documentation"
    
    This reverts commit af210f40ce7ad7b3351abc988b0351446e8b639e


>---------------------------------------------------------------

fe1f97ccdf5cbd96761d178a5f334d806e9501d0
 libraries/base/Data/Maybe.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/base/Data/Maybe.hs b/libraries/base/Data/Maybe.hs
index c3049f3..2a3e0ef 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__
 --



More information about the ghc-commits mailing list