emacs-devel
[Top][All Lists]
Advanced

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

Re: Arbitrary function: find the number(s) of expected arguments


From: Eli Zaretskii
Subject: Re: Arbitrary function: find the number(s) of expected arguments
Date: Sat, 19 Mar 2016 18:47:03 +0200

> From: Philipp Stephani <address@hidden>
> Date: Sat, 19 Mar 2016 16:34:55 +0000
> Cc: address@hidden, address@hidden
> 
>  > (g 10 202 30) => error -> "Wrong number of arguments"
>  >
>  > This cannot be detected without evaluating the function.
> 
>  Are we discussing the usefulness of the function, or are we discussing
>  how best to implement it?
> 
> 
> We are discussing for which cases it can be implemented. It can be 
> implemented and would be useful for a
> wide range of functions, such as those defined with defun. It cannot be 
> implemented for functions like g; that's
> just a limitation we have to live with. 

That's one possibility.  Another is that the implementation will be
able to find out the truth, just like the Lisp interpreter does.



reply via email to

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