[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: eval-when-compile vs defconst
From: |
Markus Triska |
Subject: |
Re: eval-when-compile vs defconst |
Date: |
Sun, 12 Nov 2006 20:06:37 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) |
Stephen Leake <address@hidden> writes:
> Is the `eval-when-compile' useful here? I'm thinking it is.
>
> The help for `defvar' says initvalue is evaluated, but it's not clear
> whether that happens at compile time or load time.
concat is recognized as a pure function by the optimizer and
evaluated. So no, eval-when-compile isn't useful in this case.
All the best! -- Markus Triska
- eval-when-compile vs defconst, Stephen Leake, 2006/11/11
- eval-when-compile vs defconst, Bob Rogers, 2006/11/11
- Re: eval-when-compile vs defconst, Richard Stallman, 2006/11/12
- Re: eval-when-compile vs defconst, Stephen Leake, 2006/11/12
- Re: eval-when-compile vs defconst,
Markus Triska <=
- Re: eval-when-compile vs defconst, Richard Stallman, 2006/11/13
- Re: eval-when-compile vs defconst, Stuart D. Herring, 2006/11/13
- Re: eval-when-compile vs defconst, Stefan Monnier, 2006/11/13
- Re: eval-when-compile vs defconst, Markus Triska, 2006/11/14
- Re: eval-when-compile vs defconst, Richard Stallman, 2006/11/14