News for hackers. Stuff that matters.
Re:Algebraic Effects for the Rest of Us by amelius on Wednesday July 24, 2019 @05:29AM (#20513516)
Where does the name come from? The word "effects" makes me think of "side effects", which is something I'd usually like to avoid.
Re:Algebraic Effects for the Rest of Us by smilliken on Wednesday July 24, 2019 @09:51AM (#20515234)
Algebraic effects are the opposite of "side" effects: they are intentional and controlled. In haskell, the effects of a function are described explicitly in its type (and transitively to its callers' types).