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

Eliminate BergResult #45

Open
jkeiser opened this issue Feb 16, 2019 · 0 comments
Open

Eliminate BergResult #45

jkeiser opened this issue Feb 16, 2019 · 0 comments

Comments

@jkeiser
Copy link
Member

jkeiser commented Feb 16, 2019

Merge ControlVal into BergVal. Probably have a method returning Result<BergVal<'a>, BergVal<'a>> to make it easy to correctly shortcircuit when errors happen. Like val.raise_errors()?.

The intent here is to solidify the control flow model, whereby errors are just values, and most operations simply give up when they see them.

@jkeiser jkeiser added the to do label Feb 16, 2019
@jkeiser jkeiser removed the to do label Mar 5, 2019
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

No branches or pull requests

1 participant