Bruno Haible writes:
Thomas F. Burdick wrote:
For a fix to the immediate problem, why not change the syntax of sys::%handler-bind to match normal function call syntax:
(%handler-bind body-thunk 'condition1 handler1 'condition2 handler2 ...)
instead of
(%handler-bind ((condition1 handler1) (condition2 handler2) ...) (funcall body-thunk))
Even if %handler-bind can't be written as a primitive function (I don't know CLISP's internals, so I'll have to take your word for it), this should be good enough for most code walkers.
This is a good idea. Would you like to implement this and contribute it to clisp? (If you say no, I will do it.)
Nope, I have no hacking time at the moment, and when I get some, I'm going to use it for pending commitments to SBCL. I would like to see CLISP be Iterate-friendly, though.