|
From: | Daniel Kraft |
Subject: | Re: lexical-let detail semantics |
Date: | Mon, 27 Jul 2009 14:09:21 +0200 |
User-agent: | Thunderbird 2.0.0.0 (X11/20070425) |
A.Politz wrote:
On Jul 27, 11:50 am, Daniel Kraft <d...@domob.eu> wrote: [...]I'm happy that lexical-let works well to build closures (and in fact it seems that this is the main intention for lexical-let at all); however this code does not work as expected: (setq a 1) (lexical-let ((a 2)) ((lambda () (print a)))) => 1I don't know, but this prints `2' in my emacs (GNU Emacs 22.3.1).
I'm using 21.3.1, and there it is 1; but I checked with a development build, and yes, then I get 2. So it seems that was really a bug that got fixed, glad to know this!
Thanks for pointing this out! Daniel
[Prev in Thread] | Current Thread | [Next in Thread] |