Re: Is it possible to see how many arguments a function take?



Brian wrote:
To get the number of values returned from form you could do (length
(multiple-value-list <form>)), but I don't know how without evaluating
the form.

Nor does Lisp itself; people are free to redefine functions, and functions can return different lists depending on the arguments, time of day, or anything else...

AFAIK, there isn't a standard way of declaring that "FOO always returns 3 arguments, of the form '(string fixnum function)".

- Daniel
.