BooleanCat / go-functional

go-functional is a library of iterators to augment the standard library
MIT License
405 stars 23 forks source link

Add FilterError iterator #136

Closed BooleanCat closed 1 month ago

BooleanCat commented 1 month ago

Please provide a brief description of the change.

Allow for filtering iterators where the predicate can return an error.

Which issue does this change relate to?

135

Contribution checklist.

Additional context

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (7a53055) to head (0d45519).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #136 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 32 32 Lines 403 423 +20 ========================================= + Hits 403 423 +20 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

danail-branekov commented 1 month ago

Looks like precisely how I imagined it, @BooleanCat :)