[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
funcallable-p?
From: |
Drew Adams |
Subject: |
funcallable-p? |
Date: |
Sat, 25 Aug 2007 17:40:51 -0700 |
What's a good way to test the first argument to `funcall' or `apply', to
ensure that it is appropriate?
`functionp' won't do it, because it allows special forms and macros. I can
imagine doing a case analyis on the function-cell value, but what's a
concise and elegant idiom for this test? I don't see one used in the Lisp
source files; I guess each occurrence there more or less knows what argument
to expect.
- funcallable-p?,
Drew Adams <=
- 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