libfn / functional

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

Add support for `fn::pack` as `error_type` in `fn::expected` #41

Closed Bronek closed 7 months ago

Bronek commented 7 months ago

The invoke operations in expected need to be adjusted to support pack being used for errors. We should keep the existing semantics of operator & for this, no change there.

This change would become duplicate if we first implement #40

Bronek commented 7 months ago

Implemented in #44