[xyzzy:02122] Re: defconstant
- Subject: [xyzzy:02122] Re: defconstant
- From: Tetsuya Kamei <kamei@xxxxxxxxxxxx>
- X-mailer: Denshin 8 Go V321.2b5
- X-yzzy-version: 0.0.0.76
山本さん、こんにちは。
Fri, 12 Mar 1999 14:51:53 +0900 の
“[xyzzy:02118] Re: defconstant”
への返事です.
| そういうものなのでしょうか?
私がコンパイル時に評価しているのは、CLtL2 の 25.1.3. Compilation
Environment にそうしてもいいと書いてあるからです。別にこれが絶
対というわけではありませんけどね。
> defconstant
>
> The compiler must recognize that the symbol names a constant.
> An implementation may choose to evaluate the value-form at
> compile time, load time, or both. Therefore the user must ensure
> that the value-form is evaluable at compile time (regardless
> of whether or not references to the constant appear in the file)
> and that it always evaluates to the same value. (There has been
> considerable variance among implementations on this point. The
> effect of this specification is to legitimize all of the
> implementation variants by requiring care of the user.)
--
亀井哲弥(Tetsuya Kamei)
kamei@xxxxxxxxxxxx/JCA00343@xxxxxxxxxxx