38 points · by leafac · 7y ago · 2 comments
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.