A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://lists.gnu.org/archive/html/help-gnu-emacs/2015-08/msg00729.html below:

Re: get nargs for a function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] From: Ian Zimmerman Subject: Re: get nargs for a function Date: Fri, 28 Aug 2015 10:10:28 -0700 User-agent: Mutt/1.5.21 (2010-09-15)
On 2015-08-28 09:55 -0700, Sam Halliday wrote:

> 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).

How does advice do it?

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4