Entry tags:
The reasonable effectiveness of the continuation monad
https://blog.poisson.chat/posts/2019-10-26-reasonable-continuations.html
There are common monads associated with common effects: Maybe for failure, [] (list) for nondeterminism, State for state⦠What about the continuation monad? We shall see why the answer is all of the above, but better. Indeed, many effects can be understood and implemented in a simple and uniform fashion in terms of first-class continuations.
There are common monads associated with common effects: Maybe for failure, [] (list) for nondeterminism, State for state⦠What about the continuation monad? We shall see why the answer is all of the above, but better. Indeed, many effects can be understood and implemented in a simple and uniform fashion in terms of first-class continuations.