[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LET-CONSTANT and DECLARE (CONSTANT
- To: "common-lisp" <common-lisp@su-ai.ARPA>
- Subject: LET-CONSTANT and DECLARE (CONSTANT
- From: "AITG::VANROGGEN" <email@example.com>
- Date: Mon, 03 Aug 1987 20:09:00 -0000
- Cc: vanroggen
- Reply-to: "AITG::VANROGGEN" <firstname.lastname@example.org>
Perhaps the complaint about "binding constants" isn't about the
constancy of association between a variable and its value, but about
whether the value happens to be read-only.
This would permit additional compiler optimizations regarding state
dependent functions like ELT.
Related question: are quoted constants in compiled functions "read-only"?
How about initial values for DEFCONSTANTs?
Is this what was intended by DECLARE (CONSTANT V)?