¤ mapfilter, plookup, et al

Various utility functions for the Maybe type.

Types

mapfilter :: (a -> Maybe b) -> [a] -> [b]
plookup :: (a -> Bool) -> [(a, b)] -> Maybe b
mapMaybe :: (a -> b) -> Maybe a -> Maybe b
stripMaybe :: Maybe a -> a
stripMaybeDef :: a -> Maybe a -> a
isM :: Maybe a -> Bool

Description

These functions provides various common operations relating to the Maybe type.