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

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

Re: funcallable-p?


From: Daniel Jensen
Subject: Re: funcallable-p?
Date: Sun, 26 Aug 2007 16:32:12 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)

Pascal Bourguignon <pjb@informatimago.com> writes:

> daniel@bigwalter.net (Daniel Jensen) writes:
>
>> You can use `subr-arity' to test for a special form.
>
> (subrp (symbol-function 'sin)) --> t

What are you trying to say here?

(subr-arity (symbol-function 'sin))
=> (1 . 1)

(subr-arity (symbol-function 'and))
=> (0 . unevalled)


reply via email to

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