projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93fb89b
)
[project @ 2003-06-19 12:55:09 by simonmar]
author
simonmar
<unknown>
Thu, 19 Jun 2003 12:55:09 +0000
(12:55 +0000)
committer
simonmar
<unknown>
Thu, 19 Jun 2003 12:55:09 +0000
(12:55 +0000)
Fix typo in doc string
Data/Maybe.hs
patch
|
blob
|
history
diff --git
a/Data/Maybe.hs
b/Data/Maybe.hs
index
abb1c19
..
9c86159
100644
(file)
--- 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]