Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!pasteur!ucbvax!renoir.Berkeley.EDU!cox From: cox@renoir.Berkeley.EDU (Charles A. Cox) Newsgroups: comp.lang.lisp Subject: Re: Compiling lexical closures Message-ID: <23878@ucbvax.BERKELEY.EDU> Date: 4 May 88 19:42:49 GMT References: <304@utep-vaxa.UUCP> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: cox@renoir.Berkeley.EDU.UUCP (Charles A. Cox) Organization: University of California, Berkeley Lines: 18 Keywords: compile closures In article <304@utep-vaxa.UUCP> bernat@utep-vaxa.UUCP (Dr. Bernat ) writes: >I am trying to compile a lexical closure in Franz Common LISP and >keeping getting the "illegal function form" message. It seems to >me that I should be able to compile closures. Page 438 of CLtL: compile name &optional definition [function] If definition is supplied, it should be a lambda-expression, the interpreted function to be compiled. If not supplied, then name should be a symbol with a definition that is a lambda-expression. [...] If you want compiled closures, the correct thing to do is to compile the function which creates the closures, as this will cause all closures created to be compiled.