From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philipp Stephani
> From: Philipp Stephani <p.stephani2@gmail.com>
> Date: Sat, 19 Mar 2016 16:14:04 +0000
> Cc: emacs-dev= el@gnu.org
>
> Knowing the arity in cases like this requires either evaluating the fu= nction, or complex parsing of its definition.
What do you mean by "complex parsing"?=C2=A0 Did you look at how = the Lisp
interpreter does that?
> It is very reasonable to assume that (func-arity 'g) would return = (0 . many), because that is g's arity as far as
> the Lisp interpreter is concerned.
No, that's not g's arity:
=C2=A0 (g 10 202 30) =3D> error -> "Wrong number of arguments&qu= ot;