From: Douglas P. <dg...@ma...> - 2003-08-06 21:51:19
|
On Friday, Aug 1, 2003, at 08:25 US/Eastern, Hoehle, Joerg-Cyril wrote: > 1. Would people object if -C (*load-compiling*) were set (to true) by > default? YES! ARG! > - step is much less useful with compiled functions How would I turn it off? Would -C on the command line mean not to do that? What's worse (in the 2.30 version I tested, maybe this is fixed in latest CVS head??) % cat lose.lisp (let ((x 0)) (defun worker () (incf x)) (defun sample() (worker) x)) % clisp -C -i lose.lisp ... ;; Loading file lose.lisp ... WARNING in SAMPLE : Function WORKER is not defined ;; Loaded file lose.lisp [1]> So, if I cannot use closures "at the top level" without getting gratuituous and annoying messages with -C then -C should not be the default. And it would be so nice if it really did "the right thing"... in which case I would support it. <D\'gou |