[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New special form suggestion: LET-CONSTANT
It seems like a LET-CONSTANT special form, or an &CONSTANT
lambda-list keyword, would be the right thing for this.
LET-CONSTANT would be to DEFPARAMETER what FLET is to DEFUN,
and &CONSTANT would be analogous to &AUX.
As an alternative, I recommend a CONSTANT declaration. DEFCONSTANT could then
be defined in terms of (PROCLAIM '(CONSTANT variable)). The statement
(PROCLAIM '(DECLARATION CONSTANT)) would provide compatibility with
implementations that don't support the declaration.
--Stuart A. Malone