X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=Data%2FMaybe.hs;h=f98fa859178be91dcde892e56ec4824caa3362e1;hb=d2ddca1e0024bc2a12fb0e721c9b2eeaaca68c4d;hp=abb1c19f29146620acd0116eff6f5eb35078e9c9;hpb=2a2e1617befbeebfcc5db581795fdccae09defd4;p=haskell-directory.git diff --git a/Data/Maybe.hs b/Data/Maybe.hs index abb1c19..f98fa85 100644 --- a/Data/Maybe.hs +++ b/Data/Maybe.hs @@ -6,7 +6,7 @@ -- License : BSD-style (see the file libraries/base/LICENSE) -- -- Maintainer : libraries@haskell.org --- Stability : experimental +-- Stability : stable -- Portability : portable -- -- The Maybe type, and associated operations. @@ -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]