stdlib
stdlib copied to clipboard
implement list.try_filter
I noticed that there wasn't a try_ version of the filter function.
- Added try_filter function to the list module
- Added try_filter_test
Hello! Thank you for this but we only have try_* functions for the most common operations or anything that would be challenging to implement. In this case the programmer could use try_map and then filter, or use try_fold.