The continuation monad: a mathematical introduction
Wildon's Weblog 2025-08-18
Summary:
In the Haskell category, objects are types, and morphisms are Haskell functions. The continuation monad for a fixed return type r is the functor m sending a type a to the type m a of functions (a -> r) -> r. The purpose of this post is to use vector space duality to motivate the […]