From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani
> >> We should perhaps put something about throw= ing error on '&option &rest'
> >> into NEWS though.
> >
> > I don't understand.=C2=A0 In Common Lisp it is perfectly corr= ect
> > to use both &optional and &rest.
>
> What's rejected is (&optional &rest other-vars), whereas (= &optional
> var1 &rest other-vars) is okay. Does CL accept the first form (and= if
> yes, what does it mean)? I couldn't tell from the page you linked = to.
CL accepts a single variable after &rest. And there must be
a variable after &optional.=C2=A0 (&optional foo &rest bar) is = OK.
(&optional &rest foo) is not OK.
(&optional foo &rest bar toto titi) is not OK.