Skip to content

Conversation

@gusty
Copy link
Member

@gusty gusty commented Jan 11, 2026

This will add Result.orElse and Result.orElseWith to Result module.

We'll probably hold on this until we decide which path we'll follow with similar functions (bindError, catch, tryWith).

Also the question here is, should it be allowed to change the error type or not? As this is new, existing implementations in options and tasks have a fixed error type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants