[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Understanding the "let" construct and the setting of variables
From: |
tomas |
Subject: |
Re: Understanding the "let" construct and the setting of variables |
Date: |
Fri, 18 Dec 2020 10:01:28 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Dec 17, 2020 at 11:35:30PM +0100, Michael Heerdegen wrote:
> steve-humphreys@gmx.com writes:
>
> > I would thing the variable has to be made somewhere.
> > In fact people talk about "unboundp".
>
> A variable can be unbound. Would be hard to call `boundp' with a
> variable that doesn't exist.
But then, you don't call `boundp' on variables. You call it on symbols.
AFAIK (but I could be wrong, corrections welcome!) there's no explicit
notion of variable in Emacs Lisp, i.e. you cah't "have" a variable
object and manipulate it directly.
That doesn't mean they don't exist -- I fancy them living in the grey
area between symbols and bindings.
Again, the Elisp manual ("12 Variables" and, linked from there, "9
Symbols") makes for a good reading.
Cheers
- t
signature.asc
Description: Digital signature
Re: Understanding the "let" construct and the setting of variables, steve-humphreys, 2020/12/16
- Re: Understanding the "let" construct and the setting of variables, Joost Kremers, 2020/12/17
- RE: Understanding the "let" construct and the setting of variables, Drew Adams, 2020/12/17
- Re: RE: Understanding the "let" construct and the setting of variables, steve-humphreys, 2020/12/17
- RE: RE: Understanding the "let" construct and the setting of variables, Drew Adams, 2020/12/17
- Re: Understanding the "let" construct and the setting of variables, Michael Heerdegen, 2020/12/17
- Re: Understanding the "let" construct and the setting of variables,
tomas <=
- Re: Understanding the "let" construct and the setting of variables, Michael Heerdegen, 2020/12/18
- Re: Understanding the "let" construct and the setting of variables, Emanuel Berg, 2020/12/18
- Re: Understanding the "let" construct and the setting of variables, Michael Heerdegen, 2020/12/18
- RE: Understanding the "let" construct and the setting of variables, Drew Adams, 2020/12/18
- Re: Understanding the "let" construct and the setting of variables, Stefan Monnier, 2020/12/19
Re: Understanding the "let" construct and the setting of variables, Emanuel Berg, 2020/12/18
Re: Understanding the "let" construct and the setting of variables, Emanuel Berg, 2020/12/18