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.
[ Parent
| on HN ]
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).