Re: Is it possible to see how many arguments a function take?
- From: D Herring <dherring@xxxxxxxxxxxxxxxxxxx>
- Date: Sat, 22 Mar 2008 13:09:40 -0400
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
.
- References:
- Is it possible to see how many arguments a function take?
- From: Slobodan Blazeski
- Re: Is it possible to see how many arguments a function take?
- From: Brian
- Is it possible to see how many arguments a function take?
- Prev by Date: Re: Is it possible to see how many arguments a function take?
- Next by Date: Re: webapps, why so hard
- Previous by thread: Re: Is it possible to see how many arguments a function take?
- Next by thread: Re: Is it possible to see how many arguments a function take?
- Index(es):
Relevant Pages
|