From: simonmar Date: Thu, 19 Jun 2003 12:55:09 +0000 (+0000) Subject: [project @ 2003-06-19 12:55:09 by simonmar] X-Git-Tag: nhc98-1-18-release~605 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=0ff27fb0b00d271170a346d75ffe38cebabb3b11;p=ghc-base.git [project @ 2003-06-19 12:55:09 by simonmar] Fix typo in doc string --- diff --git a/Data/Maybe.hs b/Data/Maybe.hs index abb1c19..9c86159 100644 --- a/Data/Maybe.hs +++ b/Data/Maybe.hs @@ -128,7 +128,7 @@ listToMaybe :: [a] -> Maybe a listToMaybe [] = Nothing listToMaybe (a:_) = Just a --- | The 'catMaybes' function takes a list of "Maybe's and returns +-- | The 'catMaybes' function takes a list of 'Maybe's and returns -- a list of all the 'Just' values. catMaybes :: [Maybe a] -> [a] catMaybes ls = [x | Just x <- ls]