[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
EVAL-WHEN symbols
- To: MURRAY%cs.umass.edu@RELAY.CS.NET
- Subject: EVAL-WHEN symbols
- From: "Scott E. Fahlman" <Fahlman@C.CS.CMU.EDU>
- Date: Wed, 15 Apr 1987 15:55:00 -0000
- Cc: common-lisp@SAIL.STANFORD.EDU
- In-reply-to: Msg of 14 Apr 1987 15:45-EDT from MURRAY%cs.umass.edu at RELAY.CS.NET
- Sender: FAHLMAN@C.CS.CMU.EDU
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