home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / lisp / 2324 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  768 b 

  1. Path: sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!uqcspe!cs.uq.oz.au!gong
  2. From: gong@cs.uq.oz.au (Ming Gong)
  3. Newsgroups: comp.lang.lisp
  4. Subject: A question: Dynamic type check
  5. Message-ID: <10026@uqcspe.cs.uq.oz.au>
  6. Date: 28 Aug 92 02:33:21 GMT
  7. Sender: news@cs.uq.oz.au
  8. Reply-To: gong@cs.uq.oz.au
  9. Lines: 15
  10.  
  11. I want to know *at run time* whether or not a expression is a function. 
  12. Can some knowledgeable people tell me how?
  13.  
  14. For example, I have a lisp function PLUS implementing 
  15.      lambda x. lambda y. x + y
  16. then (funcall (PLUS) 3) is a function and will printout something like
  17.      #<Function PLUS ....>.
  18. The questions are: can I access such information within a lisp program
  19. and how?
  20.  
  21. Please email answers to gong@cs.uq.oz.au.
  22.  
  23. Thank you in advance.
  24.  
  25. Ming Gong
  26.