http://www.lispworks.com/reference/HyperSpec/Body/m_defmet.htm#defmethod
"The lambda list of the generic function is congruent with the lambda
list of the method being defined; if the defmethod form mentions
keyword arguments, the lambda list of the generic function will
mention ..... key (but no keyword arguments). If function-name names
an ordinary function, a macro, or a special operator, an error is
signaled."
The '....' is literally there. I assume this is a typo. What is it
supposed to be saying?
And why was it considered necessary to signal an error when using
DEFMETHOD on a symbol already defined as a regular function?
Seems like a warning would be more appropriate.
Thanks.
In article <················@netnews.attbi.com>, ······@alum.mit.edu
(JP Massar) wrote:
>http://www.lispworks.com/reference/HyperSpec/Body/m_defmet.htm#defmethod
>
>"The lambda list of the generic function is congruent with the lambda
>list of the method being defined; if the defmethod form mentions
>keyword arguments, the lambda list of the generic function will
>mention ..... key (but no keyword arguments). If function-name names
>an ordinary function, a macro, or a special operator, an error is
>signaled."
>
>
>The '....' is literally there. I assume this is a typo. What is it
>supposed to be saying?
&
i.e., "the lambda list of the generic function will mention
&key (but no keyword arguments)"