libfn / functional

Extending C++ library for functional programming
ISC License
60 stars 8 forks source link

Swap functor arguments #74

Closed Bronek closed 5 months ago

Bronek commented 5 months ago

This brings back the order of functor arguments as it was before https://github.com/libfn/functional/pull/72 .

codecov[bot] commented 5 months ago

Codecov Report

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

Project coverage is 100.0%. Comparing base (1f8b602) to head (9078068).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/libfn/functional/pull/74/graphs/tree.svg?width=650&height=150&src=pr&token=3RHT38SEU0&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn)](https://app.codecov.io/gh/libfn/functional/pull/74?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn) ```diff @@ Coverage Diff @@ ## main #74 +/- ## ======================================= Coverage 100.0% 100.0% ======================================= Files 19 19 Lines 850 853 +3 Branches 121 121 ======================================= + Hits 850 853 +3 ``` | [Files](https://app.codecov.io/gh/libfn/functional/pull/74?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn) | Coverage Δ | | |---|---|---| | [include/functional/and\_then.hpp](https://app.codecov.io/gh/libfn/functional/pull/74?src=pr&el=tree&filepath=include%2Ffunctional%2Fand_then.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn#diff-aW5jbHVkZS9mdW5jdGlvbmFsL2FuZF90aGVuLmhwcA==) | `100.0% <100.0%> (ø)` | | | [include/functional/detail/pack\_impl.hpp](https://app.codecov.io/gh/libfn/functional/pull/74?src=pr&el=tree&filepath=include%2Ffunctional%2Fdetail%2Fpack_impl.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn#diff-aW5jbHVkZS9mdW5jdGlvbmFsL2RldGFpbC9wYWNrX2ltcGwuaHBw) | `100.0% <100.0%> (ø)` | | | [include/functional/fail.hpp](https://app.codecov.io/gh/libfn/functional/pull/74?src=pr&el=tree&filepath=include%2Ffunctional%2Ffail.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn#diff-aW5jbHVkZS9mdW5jdGlvbmFsL2ZhaWwuaHBw) | `100.0% <100.0%> (ø)` | | | [include/functional/filter.hpp](https://app.codecov.io/gh/libfn/functional/pull/74?src=pr&el=tree&filepath=include%2Ffunctional%2Ffilter.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn#diff-aW5jbHVkZS9mdW5jdGlvbmFsL2ZpbHRlci5ocHA=) | `100.0% <100.0%> (ø)` | | | [include/functional/functor.hpp](https://app.codecov.io/gh/libfn/functional/pull/74?src=pr&el=tree&filepath=include%2Ffunctional%2Ffunctor.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn#diff-aW5jbHVkZS9mdW5jdGlvbmFsL2Z1bmN0b3IuaHBw) | `100.0% <100.0%> (ø)` | | | [include/functional/inspect.hpp](https://app.codecov.io/gh/libfn/functional/pull/74?src=pr&el=tree&filepath=include%2Ffunctional%2Finspect.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn#diff-aW5jbHVkZS9mdW5jdGlvbmFsL2luc3BlY3QuaHBw) | `100.0% <100.0%> (ø)` | | | [include/functional/inspect\_error.hpp](https://app.codecov.io/gh/libfn/functional/pull/74?src=pr&el=tree&filepath=include%2Ffunctional%2Finspect_error.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn#diff-aW5jbHVkZS9mdW5jdGlvbmFsL2luc3BlY3RfZXJyb3IuaHBw) | `100.0% <100.0%> (ø)` | | | [include/functional/or\_else.hpp](https://app.codecov.io/gh/libfn/functional/pull/74?src=pr&el=tree&filepath=include%2Ffunctional%2For_else.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn#diff-aW5jbHVkZS9mdW5jdGlvbmFsL29yX2Vsc2UuaHBw) | `100.0% <100.0%> (ø)` | | | [include/functional/recover.hpp](https://app.codecov.io/gh/libfn/functional/pull/74?src=pr&el=tree&filepath=include%2Ffunctional%2Frecover.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn#diff-aW5jbHVkZS9mdW5jdGlvbmFsL3JlY292ZXIuaHBw) | `100.0% <100.0%> (ø)` | | | [include/functional/transform.hpp](https://app.codecov.io/gh/libfn/functional/pull/74?src=pr&el=tree&filepath=include%2Ffunctional%2Ftransform.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn#diff-aW5jbHVkZS9mdW5jdGlvbmFsL3RyYW5zZm9ybS5ocHA=) | `100.0% <100.0%> (ø)` | | | ... and [1 more](https://app.codecov.io/gh/libfn/functional/pull/74?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn) | | [![Impacted file tree graph](https://app.codecov.io/gh/libfn/functional/pull/74/graphs/tree.svg?width=650&height=150&src=pr&token=3RHT38SEU0&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn)](https://app.codecov.io/gh/libfn/functional/pull/74?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=libfn)