by technomancy · 10y ago · 0 comments
(defmacro foo args
(do 'something (with args)))
where (and (>= (length args) 0)
(=< (length args) 255))
Note the lack of parentheses around args in the defmacro form.Edit: Oops, Robert mentioned this, too.
Even syntaxes which have OAIPA can (and do) still have optional parentheses to exactly delimit the arguments of a call, and that notation can clearly support variadic args.
Outside of explicit delimiting with parens, OAIPA can work on a variadic function up to its required arguments by considering it to be a function of exactly that number of arguments, and no more.