[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: funcallable-p?
From: |
Pascal Bourguignon |
Subject: |
Re: funcallable-p? |
Date: |
Sun, 26 Aug 2007 15:08:31 +0200 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/22.1.50 (gnu/linux) |
daniel@bigwalter.net (Daniel Jensen) writes:
> "Drew Adams" <drew.adams@oracle.com> writes:
>
>> I mispoke about macros. I really meant special forms. `functionp' doesn't
>> distinguish between functions and special forms, right? If so, is there an
>> idiom or convention for such a test, of shall I just test `functionp' and
>> not a member of the list of special forms?
>
> You can use `subr-arity' to test for a special form.
(subrp (symbol-function 'sin)) --> t
--
__Pascal Bourguignon__ http://www.informatimago.com/
This is a signature virus. Add me to your signature and help me to live.
- funcallable-p?, Drew Adams, 2007/08/25
- Re: funcallable-p?, Stefan Monnier, 2007/08/26
- RE: funcallable-p?, Drew Adams, 2007/08/26
- Re: funcallable-p?, Stefan Monnier, 2007/08/27
- RE: funcallable-p?, Drew Adams, 2007/08/27
- Re: funcallable-p?, Stefan Monnier, 2007/08/27
- RE: funcallable-p?, Drew Adams, 2007/08/27
- Re: funcallable-p?, Stefan Monnier, 2007/08/27
Re: funcallable-p?, Daniel Jensen, 2007/08/26
- Re: funcallable-p?,
Pascal Bourguignon <=
RE: funcallable-p?, Drew Adams, 2007/08/26
Re: funcallable-p?, Johan Bockgård, 2007/08/26