You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked at the code linked in #961 and the comments, but I don't see why an outer effect handler would not work, and the comments in the examples suggest that it still should. So I'm surprised by the behavior of this particular example.
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: