[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Check-keyword-arguments
You could consider the the following instead:
check-keyword-arguments keywords-plist
keywords
generic-functions-and-arguments-or-methods
extra-allowed-keywords
&optional errorp-or-function
Keyword-plist is passed as a key value sequence,
keywords is a list of keywords.
I like this. There is one reason that argues against including methods in the
third argument. The user might think that an arbitrary set of methods can be
included. However, for the intended purpose, it only makes sense if all the
methods applicable to a particular set of arguments are included. The value
returned can also be incoherent if there are included methods of the same
generic function which are never applicable together. It is for this reason
that the generic-functions-and-arguments list was suggested in the first place.
danny