stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

implement list.try_filter

Open pendletong opened this issue 3 months ago • 1 comments

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

pendletong avatar Mar 31 '24 20:03 pendletong

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.

lpil avatar Apr 01 '24 10:04 lpil