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: use eio #20

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open

refactor: use eio #20

wants to merge 20 commits into from

Conversation

aidmandorky
Copy link
Contributor

This upgrades the OCaml version of the project to 5.1.0 and uses the cohttp-eio library to add code based on eio instead of lwt. Eio based code is more direct, non-monadic, faster and supports exception catching/handling in the usual try ... with manner as vanilla OCaml. I have not deleted the old Lwt code, as it seems reasonable to also have it around.

@aidmandorky aidmandorky linked an issue Mar 1, 2024 that may be closed by this pull request
@actionshrimp actionshrimp removed their request for review March 11, 2024 10:47
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.

Replace Lwt with Eio.
1 participant