home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / usr.bin / lisp / lispnews / text0101.txt < prev    next >
Encoding:
Text File  |  1985-11-10  |  280 b   |  12 lines

  1.  
  2.    Liszt only compiles functions, not literals it finds in files.
  3. To make this statement be compiled:
  4. (setq appsum (function (lambda (x) (apply 'sum x))))
  5.  
  6. you should surround it with a function defintion:
  7. (defun junk ()
  8.     (setq appsum (function (lambda (x) (apply 'sum x)))))
  9.  
  10.  
  11.  
  12.