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/msg00728.html below:

get nargs for a function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] 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


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