ocaml-multicore / effects-examples

Examples to illustrate the use of algebraic effects in Multicore OCaml
ISC License
417 stars 35 forks source link

Update lwt and multicont dependencies inline with OCaml 5.1 #39

Closed tmcgilchrist closed 7 months ago

tmcgilchrist commented 7 months ago

Fixed this TODO while working through these examples.

I noticed that the dynamic_state.ml example is using the old syntax for Effects. Should it work in the new syntax with multi shot continuations?

tmcgilchrist commented 7 months ago

Thanks @dhil I started fixing dynamic_state.ml by doing the obvious changes but ran into problems (mostly in my understanding of how it should work) and I wasn't sure with the "doesn't work" comments if it should compile at all.