ocaml-multicore / effects-examples

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

Use effect syntax for OCaml 5.3 #42

Closed avsm closed 4 months ago

avsm commented 4 months ago

This currently needs https://github.com/ocaml/ocaml/pull/12309 (soon to be merged) and opam pin add multicont --dev as that also fails to compile with the released version.

avsm commented 4 months ago

This is expected to fail in ocaml-ci until https://github.com/ocaml/ocaml/pull/12309 is merged. You can try it out quickly by using opam compiler '#12309' to get an opam switch the PR included.

dhil commented 4 months ago

[..] opam pin add multicont --dev as that also fails to compile with the released version.

Do you want me to prepare a new release?

avsm commented 4 months ago

@dhil a new release would be great! I think it's https://github.com/dhil/ocaml-multicont/pull/8 that is the problem, and you've merged that into your development tree.

avsm commented 4 months ago

It's green now in CI so I've gone ahead and merged this, and also added a note to the README that users who want a pre-effect-syntax can use the 5.1.1 tag instead.