Forgetting compile time stuff

Helmut Eller heller at common-lisp.net
Wed Dec 23 12:59:06 CET 2009


After compiling a file with content:

(eval-when (:compile-toplevel)
  (defun foo () (format t "foo~%")))

with (compile-file "foo.lisp") the function foo is defined
after compile-file returns.

Is there a knob to change that so that foo is defined only while
compiling?

Helmut




More information about the cmucl-imp mailing list