3 ms·
Or use OCaml 5 which has a full algebraic effects system that solves the function coloring problem while still being highly performant.
by satvikpendem 6mo ago
Or use OCaml 5 which has a full algebraic effects system that solves the function coloring problem while still being highly performant.
- coldtea 6mo agoHow do they solve it?
- satvikpendem 6mo agoI'm glad you asked: https://lukstafi.github.io/curious-ocaml/new_book.html#chapter-9-algebraic-effects https://lukstafi.github.io/curious-ocaml/new_book.html#chapt... Basically, any function can handle any effect, they don't need to be marked a special way like async await.