Comment 4 for bug 181105

Revision history for this message
Derick Eddington (derick-eddington) wrote : Re: [Bug 181105] Re: syntax pattern variable list length mismatch error is obscure

On Jan 9, 2008 5:51 AM, Abdulaziz Ghuloum <email address hidden> wrote:
> Added fix in revision 1336. Is this better:
>
> > (syntax-case #'((a b c d) (1 2 3)) ()
> [((x ...) (y ...))
> #'((x y) ...)])
>
> Unhandled exception
> Condition components:
> 1. &assertion
> 2. &who: ...
> 3. &message: "length mismatch"
> 4. &irritants: ((#<syntax 1> #<syntax 2> #<syntax 3>) (#<syntax a> #<syntax b> #<syntax c> #<syntax d>))

Yeah, who of ... and seeing the list of syntax objects works great.