3 ms·
> 3. The error handling system is exemplary: Not only designed to "catch" errors, but also to apply a potential correction and try running the function again. T
by boramalper 9y ago
> 3. The error handling system is exemplary: Not only designed to "catch" errors, but also to apply a potential correction and try running the function again. This is known as "condition and restarts", and sadly is not present in many programming languages.
I found this extremely weird and (or hence) interesting at the same time. Where can I read more about this?
- sigstoat 9y agogoogling for "common lisp condition system" turns stuff up. i looked at one point, and i don't remember finding an academic treatment of them. they're (hand wave hand wave) basically a matter of stuffing the current continuation inside of the exception, whenever you throw an exception, and then making use of that to provide more options whenever the exception is caught.
- flavio81 9y agoYou are welcome, sir! How about this chapter of the famous book "Practical Common Lisp", available online for free? http://www.gigamonkeys.com/book/beyond-exception-handling-conditions-and-restarts.html http://www.gigamonkeys.com/book/beyond-exception-handling-co...