16 ms·
In a typical PL context "effects" is always short for algebraic effects, and this article doesn't address those at all. Downvoted due to misleading title.
by zozbot234 7y ago
In a typical PL context "effects" is always short for algebraic effects, and this article doesn't address those at all. Downvoted due to misleading title.
- curryhoward 7y ago> In a typical PL context "effects" is always short for algebraic effects The word "effects" has a long and storied history in programming language theory that predates algebraic effects/handlers by decades. The study of effect systems includes algebraic effects but also monads and other type and effect systems. In some situations the lines between these are blurred, for example with "extensible effects" which are algebraic effects implemented by a free(r) monad combined with "data types a la carte"-style open unions.
- tel 7y agoAlgebraic effects are a popular subclass of effects, but not all effects of use in programming (or worthy of study!) are algebraic. The simplest example is the continuation effect. It's not immediately clear why this effect isn't algebraic (it's not even immediately clear what "algebraic" means) but suffice to say continuations are very weird and behave very differently from other effects. At the same time, they're very useful and are a useful part of someone's programming vocabulary.
- lonelappde 7y agoYou are downvoting because the article is about what it said in the headline and not something else? Because a news site is only for "typical" things?