[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How constant are defconstants?
- To: masinter.pa@XEROX.ARPA
- Subject: Re: How constant are defconstants?
- From: JonL.pa@XEROX.ARPA
- Date: Thu, 04 Oct 1984 19:38:00 -0000
- Cc: JonL.pa@XEROX.ARPA, Meehan@YALE.ARPA, Common-Lisp@SU-AI.ARPA
- In-reply-to: masinter.pa's message of 4 Oct 84 14:22 PDT
Sorry, I wasn't fully clear. "compile-time constants", when mentioned
to the CommonLisp community, merely mean "constants", especially when
encountered by the compiler. The common lisp term for what you are
referring to is "Named constants" (sec 5.1.2 of manual), and I'm afraid
you've just confused the two.
The existing code with "runtime updates to compile-time constants"
occurs even in older Interlisp code like this:
(SETQ *FOO* (QUOTE (MY MESSAGE ABOUT *SOMETHING*)))
. . .
(RPLACA (CDDDR *FOO*) (QUOTE VARIABLES))
and in the context of the discussion, (QUOTE (MY MESSAGE ABOUT
*SOMETHING*)) is a "compile time" constant.
-- JonL --