On Sunday, March 9, 2003, at 01:42  AM, Gerd Moellmann wrote:

>
> "William C. Halliburton" <[EMAIL PROTECTED]> writes:
>
>> (defmethod dummy ((f foobar) &rest rest &allow-other-keys)
>>
>> with no problems on FreeBSD but after moving ot Debian I recieved
>> the error:
>>
>> Misplaced &allow-other-keys in lambda-list
>
> See section 3.4.1 of the standard:
>
> lambda-list::= (var*
>                 [&optional {var | (var [init-form 
> [supplied-p-parameter]])}*]
>                 [&rest var]
>                 [&key {var | ({var | (keyword-name var)} [init-form 
> [supplied-p-parameter]])}* [&allow-other-keys]]
>                 [&aux {var | (var [init-form])}*])
>
In other words, the syntax you want is:
(defmethod dummy ((f foobar) &rest rest &key &allow-other-keys) ...

Tim


Reply via email to