Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site allegra.UUCP Path: utzoo!linus!vaxine!wjh12!genrad!grkermit!masscomp!clyde!burl!ulysses!allegra!alan From: alan@allegra.UUCP Newsgroups: net.lang.lisp Subject: Optional Arguments in Franz Lisp Message-ID: <2511@allegra.UUCP> Date: Thu, 7-Jun-84 10:31:37 EDT Article-I.D.: allegra.2511 Posted: Thu Jun 7 10:31:37 1984 Date-Received: Wed, 13-Jun-84 04:49:36 EDT Organization: AT&T Bell Laboratories, Murray Hill Lines: 18 [Warning: Don't read this line.] We're running Franz Lisp under 4.2 BSD. I'm having a problem compiling functions with optional arguments. This code works correctly when interpreted: (defun f (&optional x &optional y) (cons x y)) When compiled, liszt gives the following error message: ?Error: test.l: f: illegal form in lambda list (&optional y) ?Error: test.l: : Compilation aborted due to previous errors Has anyone else run into this compiler bug? -- Alan S. Driscoll AT&T Bell Laboratories