[commit: ghc] master: mapMaybe: Typo in the comment (#9644) (21f9bc4)

git at git.haskell.org git at git.haskell.org
Tue Nov 18 18:21:53 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/21f9bc434c12e928005d59c494e4f48c242b0613/ghc

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

commit 21f9bc434c12e928005d59c494e4f48c242b0613
Author: Wieland Hoffmann <themineo at gmail.com>
Date:   Sun Sep 28 19:22:37 2014 +0200

    mapMaybe: Typo in the comment (#9644)
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>


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

21f9bc434c12e928005d59c494e4f48c242b0613
 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 33721e7..23d393d 100644
--- a/libraries/base/Data/Maybe.hs
+++ b/libraries/base/Data/Maybe.hs
@@ -87,7 +87,7 @@ catMaybes ls = [x | Just x <- ls]
 -- | The 'mapMaybe' function is a version of 'map' which can throw
 -- out elements.  In particular, the functional argument returns
 -- something of type @'Maybe' b at .  If this is 'Nothing', no element
--- is added on to the result list.  If it just @'Just' b@, then @b@ is
+-- is added on to the result list.  If it is @'Just' b@, then @b@ is
 -- included in the result list.
 mapMaybe          :: (a -> Maybe b) -> [a] -> [b]
 mapMaybe _ []     = []



More information about the ghc-commits mailing list