[iterate-devel] Re: [clisp-list] Re: handler-bind macroexpansion and special operators (fwd)

Bruno Haible bruno at clisp.org
Fri Jan 14 21:45:20 UTC 2005


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.)

Bruno




More information about the iterate-devel mailing list