BooleanCat / go-functional

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

Ensure FilterMap returns a concrete type #56

Closed BooleanCat closed 1 year ago

BooleanCat commented 1 year ago

Please provide a brief description of the change.

Ensure FilterMap returns a concrete type. It erroneously returns an interface at the moment.

Which issue does this change relate to?

None.

Contribution checklist.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (3833758) 100.00% compared to head (36ce292) 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #56 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 18 18 Lines 382 382 ========================================= Hits 382 382 ``` | [Files Changed](https://app.codecov.io/gh/BooleanCat/go-functional/pull/56?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tom+Godkin) | Coverage Δ | | |---|---|---| | [iter/lift.go](https://app.codecov.io/gh/BooleanCat/go-functional/pull/56?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tom+Godkin#diff-aXRlci9saWZ0Lmdv) | `100.00% <ø> (ø)` | | | [iter/filter.go](https://app.codecov.io/gh/BooleanCat/go-functional/pull/56?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Tom+Godkin#diff-aXRlci9maWx0ZXIuZ28=) | `100.00% <100.00%> (ø)` | |

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