-
Notifications
You must be signed in to change notification settings - Fork 172
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
How to use Lwt_unix with OCaml 5 effects? #1003
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following code is a minimized version of aantron/dream#297 that no longer calls into Dream at all:
Running this on OCaml 5.1.0 with Lwt 5.7.0 results in
Replacing
Lwt_unix.sleep 1.
by, say,Lwt.pause ()
results inwhich is the correct output, and what I would expect in both cases.
The text was updated successfully, but these errors were encountered: