Welcome To Snipplr
Everyone's Recent Haskell Snippets Tagged filter
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
The `filtermap` functional below allows to perform the standard `map` and `filter` operations in one go. The mapping function has to return a `Maybe` monad, and values of `Nothing` are filtered out.
0
1471
posted 12 years ago by deepsoul
« Prev 1 Next »