help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

get nargs for a function


From: Sam Halliday
Subject: get nargs for a function
Date: Fri, 28 Aug 2015 09:55:16 -0700 (PDT)
User-agent: G2/1.0

Hi all,

Is there a built in way to return the arg list (actually just the number of 
args) for a function that has been passed to me?

If I was just in dynamic scope, I could get cadr and count the size, but I have 
to support closure as well which is caddr (and however that changes in the 
future).

Best regards,
Sam


reply via email to

[Prev in Thread] Current Thread [Next in Thread]