2 ms·
> It's a hard problem, which is why no one has solved it yet. On the contrary, the Common Lisp condition/restart system solves it, and it's maddening that this
by samatman 6y ago
> It's a hard problem, which is why no one has solved it yet.
On the contrary, the Common Lisp condition/restart system solves it, and it's maddening that this hasn't been adopted anywhere else.
An exceptional state signals a condition, and without unwinding the stack, looks for a handler for that condition, which can, among other things, restart the computation from a lower stack frame. In development mode, it defaults to dropping into the debugger/repl; in release mode, an unhandled condition panics.