3 ms·
OCaml got experimental algebraic effects in version 5.0 (December 2022). Here is a tutorial: https://github.com/tanelso2/ocaml-effects-tutorial https://github.c
by ZeljkoS 1y ago
OCaml got experimental algebraic effects in version 5.0 (December 2022). Here is a tutorial:
https://github.com/tanelso2/ocaml-effects-tutorial https://github.com/tanelso2/ocaml-effects-tutorial
Also from the tutorial:
"Unlike Eff, Koka, Links, and other languages that support effect handlers, effects in Multicore OCaml are unchecked currently. A program that does not handle a performed effect fails with a runtime error."
- tanelso2 1y agoI upstreamed all of my changes so really we should be linking to https://github.com/ocaml-multicore/ocaml-effects-tutorial https://github.com/ocaml-multicore/ocaml-effects-tutorial instead of my repo.