home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!uqcspe!cs.uq.oz.au!gong
- From: gong@cs.uq.oz.au (Ming Gong)
- Newsgroups: comp.lang.lisp
- Subject: A question: Dynamic type check
- Message-ID: <10026@uqcspe.cs.uq.oz.au>
- Date: 28 Aug 92 02:33:21 GMT
- Sender: news@cs.uq.oz.au
- Reply-To: gong@cs.uq.oz.au
- Lines: 15
-
- I want to know *at run time* whether or not a expression is a function.
- Can some knowledgeable people tell me how?
-
- For example, I have a lisp function PLUS implementing
- lambda x. lambda y. x + y
- then (funcall (PLUS) 3) is a function and will printout something like
- #<Function PLUS ....>.
- The questions are: can I access such information within a lisp program
- and how?
-
- Please email answers to gong@cs.uq.oz.au.
-
- Thank you in advance.
-
- Ming Gong
-