This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem using #!rest in defmacro


jason songhurst wrote:

So, the formal arguments to a lambda can (only) be one of:
* a list of variables -- (foo bar baz)
* a variable -- foo
* a dotted list -- (foo bar . baz)

In the first case, each of the arguments is bound with the corresponding calling operand, and if the numbers of arguments and operands don't match, there is an error.

In the second case the (single) argument is bound to a list containing all the parameters.
rather, "... a list containing all the operands."

- jason



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]