3 ms·
Actually, that description of exceptions requires a stack-based mental model. With true continuations, you have other possibilities for handling the exception (
by infinite8s 16y ago
Actually, that description of exceptions requires a stack-based mental model. With true continuations, you have other possibilities for handling the exception (see for example Haskell).
- silentbicycle 16y agoThat's _exactly_ my point. Exceptions (as typically implemented) fit within a stack-based mental model, Common Lisp's resumable exceptions and first-class continuations do not.