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

refactor(pkg): remove some result monad in favor of exceptions #10577

Conversation

rgrinberg
Copy link
Member

A whole bunch of Result.* functions can now be removed and the old behavior is implemented with a try/catch

Signed-off-by: Rudi Grinberg me@rgrinberg.com

A whole bunch of Result.* functions can now be removed and the old
behavior is implemented with a try/catch

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>

<!-- ps-id: 0b1cab0f-4401-4693-9384-4bb9b1d5dfc9 -->
@rgrinberg rgrinberg force-pushed the ps/rr/refactor_pkg___remove_some_result_monad_in_favor_of_exceptions branch from 70487c6 to b884cf0 Compare June 8, 2024 01:06
@rgrinberg rgrinberg merged commit 24780c0 into main Jun 8, 2024
28 checks passed
@rgrinberg rgrinberg deleted the ps/rr/refactor_pkg___remove_some_result_monad_in_favor_of_exceptions branch June 8, 2024 03:08
MA0010 pushed a commit to MA0010/dune that referenced this pull request Aug 5, 2024
…#10577)

A whole bunch of Result.* functions can now be removed and the old
behavior is implemented with a try/catch

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
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.

1 participant