Deepak Goel <deego@glue.umd.edu> wrote:
+---------------
| So i would try (functionp '*) or (functionp '7) viz. i need (functionp
| arg), but then there is a missing # because (functionp arg) gives nil
| when arg = '*.
+---------------
That's because '* isn't a function -- it's a symbol. If you
try it with an actual function (such as #'*) it works fine:
> (defvar arg #'*)
ARG
> arg
#<Function * {1084019}>
> (functionp arg)
T
>
-Rob
-----
Rob Warnock, 8L-846 rpw3@sgi.com
Applied Networking http://reality.sgi.com/rpw3/
Silicon Graphics, Inc. Phone: 650-933-1673
1600 Amphitheatre Pkwy. FAX: 650-933-0511
Mountain View, CA 94043 PP-ASEL-IA