3 ms·
Unlike the condition system algebraic effects are typed so you can reason about them at compilation time and ensure all of them are at least used somewhat corre
by LeonidasXIV 7y ago
Unlike the condition system algebraic effects are typed so you can reason about them at compilation time and ensure all of them are at least used somewhat correctly.
It makes quite a bit of difference when I compare e.g. async programming in OCaml with Lwt/Async where I know I've at least hooked up the promises somewhat correctly with e.g. Python or JS where I will notice that it is wrong when the code is executed.
- phoe-krk 7y ago> Unlike the condition system algebraic effects are typed What exactly do you mean? Conditions are typed in Lisp with proper inheritance, and handlers can be bound only to particular types of conditions.