Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
deepsoul's Recent SnippetsTagged filter
- All /
« 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
1639
posted 12 years ago by deepsoul
URLs:
<http://www.chiark.greenend.org.uk/~sgtatham/utils/> <http://kitenet.net/~joey/code/moreutils/>
Use one of these nifty utilities to automatically process files in-place. Both store the results of programs which write to stdout until t...
0
639
posted 14 years ago by deepsoul