| Maintainer | hapytexeu+gh@gmail.com |
|---|---|
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Data.List.Maybe
Description
A module that works with lists of Maybes.
Synopsis
- type MaybeList a = [Maybe a]
- concatMapMaybes :: Foldable f => (a -> MaybeList b) -> f a -> [b]
Documentation
Arguments
| :: Foldable f | |
| => (a -> MaybeList b) | The function that is used to perform a mapping from the items to a list of |
| -> f a | The given |
| -> [b] | As result a list of items that were wrapped in a |
Concatenate the items wrapped in a Just when we perform a mapping and concatenate the results of these mappings.