Installing a condition handler in Common Lisp
- by Paul Nathan
The HTTP library Drakma on CLISP generates an error USOCKET:UNSUPPORTED due to a bug in Drakma+CLISP. However, it turns out that the CONTINUE restart seems to work fine. Therefore, I spent some time with CLtL and other references trying to determine how to write a restart handler.
(defun http-request (url param)
(handler-bind…