[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Arguments at runtime (reflection)?
From: |
PJ Weisberg |
Subject: |
Re: Arguments at runtime (reflection)? |
Date: |
Tue, 31 May 2011 08:06:16 -0700 |
On Saturday, May 28, 2011, Drew Adams <drew.adams@oracle.com> wrote:
>> Is there a way to determine a function's argument list (or at least
>> the number of arguments it accepts) at runtime?
>
> See `sub-arity' and `help-function-arglist' (its code).
Thanks! I kinda wish there was one function that gave the info for C
functions and Lisp functions, but I can piece together what I need to
know from there. :-)