[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems with flet on last emacs
From: |
Tassilo Horn |
Subject: |
Re: problems with flet on last emacs |
Date: |
Wed, 27 Jun 2012 17:55:45 +0200 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (gnu/linux) |
"Pascal J. Bourguignon" <address@hidden> writes:
>> Two times `x', and those should probably gensyms, anyway...
>
> They probably are.
>
> Try:
>
> (eq 'x (first (first (second (macroexpand '(flet ((foo () 1))
> (foo)))))))
> and try:
>
> (let ((expansion (macroexpand '(flet ((foo () 1)) (foo)))))
> (eq (first (first (second expansion)))
> (first (second (second expansion)))))
Ok, both are nil, so x and x are different symbols. cl uses macroexp's
macro expansion macros at various places, and `macroexp-let2' uses
(make-symbol "x") to create new symbols. That's not making it easier to
understand...
Bye,
Tassilo
- Re: problems with flet on last emacs, (continued)
- Re: problems with flet on last emacs, Stefan Monnier, 2012/06/27
- Re: problems with flet on last emacs, Thierry Volpiatto, 2012/06/27
- Re: problems with flet on last emacs, Ivan Kanis, 2012/06/28
- Re: problems with flet on last emacs, Thierry Volpiatto, 2012/06/28
- Re: problems with flet on last emacs, Ivan Kanis, 2012/06/29
- Re: problems with flet on last emacs, Thierry Volpiatto, 2012/06/29
Re: problems with flet on last emacs, Tassilo Horn, 2012/06/27
Re: problems with flet on last emacs, Andreas Schwab, 2012/06/27
Re: problems with flet on last emacs, Glenn Morris, 2012/06/27