libfn / functional

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

Add graded-monad-like behaviour to optional `or_else` #62

Closed Bronek closed 6 months ago

Bronek commented 6 months ago

Similar to or_else in expected, allow the value type to be graded as sum

Bronek commented 6 months ago

Implemented in https://github.com/libfn/functional/pull/67