[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lexical-binding questions
From: |
Stefan Monnier |
Subject: |
Re: lexical-binding questions |
Date: |
Sat, 05 May 2012 22:43:09 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
>>> Also, in CL, the declare spec is placed at the beginning of the let
>> [...]
>>> Why does it behave differently from CL?
>> Because it forces the interpreter to check for the presence of
>> a `declare' every time it sees a `let', even though it will only find
>> one once per century or so.
>> It's an OK design for a language where there's always going to be
>> a pre-processing of some sort before evaluation but for Emacs's pure
>> naive interpreter it's inconvenient.
> It doesn't seem _that_ inconvenient (or inefficient)...
We could live with it if we had no choice, yes. But given the fact that
current Elisp already uses (defvar <foo>) for that purpose and that
Elisp has no intention to morph into CL, I think the current design
makes a lot more sense.
Stefan
- Re: BEGIN_SRC..END_SRC, (continued)
- Re: BEGIN_SRC..END_SRC, Lennart Borgman, 2012/05/07
- Re: BEGIN_SRC..END_SRC, Stephen J. Turnbull, 2012/05/07
- Re: BEGIN_SRC..END_SRC, Bastien, 2012/05/05
- Re: BEGIN_SRC..END_SRC, Eli Zaretskii, 2012/05/05
- Re: BEGIN_SRC..END_SRC, Bastien, 2012/05/06
- Re: BEGIN_SRC..END_SRC, Eli Zaretskii, 2012/05/06
- Re: BEGIN_SRC..END_SRC, Lars Magne Ingebrigtsen, 2012/05/06
Re: lexical-binding questions, Stefan Monnier, 2012/05/05
Re: lexical-binding questions, Thierry Volpiatto, 2012/05/06
Re: lexical-binding questions, Stefan Monnier, 2012/05/05
Re: lexical-binding questions, egnarts-ms, 2012/05/13