[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EVAL-WHEN symbols



     While on the topic of symbols and such, I have a question
     about EVAL-WHEN.  Does it only allow LISP:EVAL, LISP:COMPILE
     and LISP:LOAD, or does it only check the print-name?  

     I think it should check print-names, so you can
     shadow these symbols.  Otherwise, you would be forced
     to add the package prefix in all the EVAL-WHEN forms.

Eval-when is currently defined to look for EVAL, COMPILE, and LOAD as
symbols in the Lisp package.  Maybe they should have been keywords, but
it's too late now.  There's a reasonably good chance that EVAL-WHEN will
be replaced in some future badly-needed cleanup of the compiler semantics.

-- Scott