Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Kind::{Result,Either}#value_or #55

Merged
merged 3 commits into from
Mar 26, 2021

Conversation

serradura
Copy link
Owner

  • Fix Kind::Either::Left#value_or and Kind::Result::Failure#value_or by allowing them to receive the value of the monad in a call using a block.

@serradura serradura added the bug Something isn't working label Mar 26, 2021
@serradura serradura added this to the 5.x milestone Mar 26, 2021
@serradura serradura self-assigned this Mar 26, 2021
@serradura serradura merged commit 2dbd939 into main Mar 26, 2021
@serradura serradura deleted the fix_kind_result_and_either_value_or branch March 26, 2021 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant