The reasonable effectiveness of the continuation monad

Apr 09, 2020 15:30

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.

monad, continuations

Previous post Next post
Up