top | item 22445941

(no title)

abacate | 6 years ago

Algebraic effects are going to put OCaml on a next level in terms of expressivity, abstraction and decoupling capabilities of separate tasks. It would be like going from a type system like C, with only concrete types, to parametric polymorphism and/or generics.

Multicore is a very nice addition, but the fact that it is going to be coupled with an effect system is a game changer for the language as a whole.

discuss

order

rixed|6 years ago

I, for one, would gladly trade threaded GC and unchecked effects for checked exceptions... Unless there is a way to implement some kind of poor man checked exceptions with unchecked effects?

cultus|6 years ago

Algebraic effects can do all of that and more. They're all checked, because you must provide handlers for effects you include.