←back to thread

97 points appliku | 1 comments | | HN request time: 0.205s | source
Show context
ZeljkoS ◴[] No.45158613[source]
OCaml got experimental algebraic effects in version 5.0 (December 2022). Here is a 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."

replies(1): >>45160069 #
1. tanelso2 ◴[] No.45160069[source]
I upstreamed all of my changes so really we should be linking to https://github.com/ocaml-multicore/ocaml-effects-tutorial instead of my repo.