[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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]