[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mis-features of let
From: |
rgb |
Subject: |
Re: Mis-features of let |
Date: |
19 Apr 2005 13:31:36 -0700 |
User-agent: |
G2/0.2 |
Now that I've slept, maybe I'll understand. Can we try again
Stefan Monnier wrote:
> > If symbols created by let refer to an abstract concept then you're
>
> `let' does not create symbols.
>
Ok, semantic error. From the point of view of a program the
symbol is being created and destroyed but actually it must
just be getting interned and uninterned. I don't know of a
way to tell the difference but I can't think of a reason I'd
need to know other than to use the correct term here.
So if I conceed it isn't being `created' and you replace my
erroneous use of create with intern does it make any difference?
If not, what explains this?
(defun test ()
(let (foo)
(put 'foo 'hold "this ")
(symbol-plist 'foo)))
=> test
(unintern "foo")
=> t
(symbol-plist 'foo)
=> nil
(test)
=> (hold "this ")
(symbol-plist 'foo)
=> nil
The lifetime of the plist is obviously limited.
- Re: Defadvice use, (continued)
- Re: Defadvice use, rgb, 2005/04/18
- Re: Defadvice use, Johan Bockgård, 2005/04/18
- Re: Defadvice use, rgb, 2005/04/18
- Re: Defadvice use, Stefan Monnier, 2005/04/18
- Re: Defadvice use, rgb, 2005/04/18
- Re: Defadvice use, Stefan Monnier, 2005/04/18
- Re: Mis-features of let (was Defadvice use), rgb, 2005/04/18
- Re: Mis-features of let, Stefan Monnier, 2005/04/19
- Re: Mis-features of let, rgb, 2005/04/19
- Re: Mis-features of let, Stefan Monnier, 2005/04/19
- Re: Mis-features of let,
rgb <=
- Re: Mis-features of let, David Kastrup, 2005/04/19
- Re: Mis-features of let, Barry Margolin, 2005/04/19
- Re: Mis-features of let, rgb, 2005/04/19
- Re: Mis-features of let, Barry Margolin, 2005/04/20
- Re: Mis-features of let, rgb, 2005/04/19
- Re: Mis-features of let, Kevin Rodgers, 2005/04/19
- Re: Mis-features of let, David Kastrup, 2005/04/19
- Re: Mis-features of let, rgb, 2005/04/19
- Re: Mis-features of let, David Kastrup, 2005/04/20
- Re: Mis-features of let, Stefan Monnier, 2005/04/20