News for hackers. Stuff that matters.
Re:Implementing Algebraic Effects in C by lmm on Monday July 31, 2017 @06:59AM (#14890863)
I find monads much much more easy to reason about, because they give you a "plain old values" perspective as well as an effectful perspective; most of the time you work like you would with effects, but if you ever get confused you can drop down to seeing what the values are doing. The one mainstream example of something effect-like is Java checked exceptions, which are widely regarded as a failure (and I think for good reason).

There are no comments on this comment yet.