Understanding the Type of ‘call/cc’
leafac.com
leafac.com
The return type of the continuation is better captured by something like the Bottom type from Haskell:
https://wiki.haskell.org/Bottom
In particular, "Bottom is a member of any type", which is what solves my example above.