[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Re: Which Elisp types are mutable?
From: |
Drew Adams |
Subject: |
RE: [External] : Re: Which Elisp types are mutable? |
Date: |
Mon, 5 Jul 2021 19:26:23 +0000 |
> In Emacs Lisp, typical immutable objects are symbols, keywords, numbers
We've been around this block a few times already,
and I don't really want to stir the pot here.
But I'll mention that a Lisp symbol is a kind of
mutable "object". It has various properties, some
of which are predefined (whether or not they have
non-nil values) and any number of which others can
be created. Predefined properties include the
symbol name, value as a variable, and value as a
function.
All except the symbol name can be changed. Is a
symbol something immutable? Not IMO, but the
answer depends on what one means by "immutable".
https://www.gnu.org/software/emacs/manual/html_node/elisp/Symbol-Components.html
- Re: Which Elisp types are mutable?, Philipp, 2021/07/05
- Re: Which Elisp types are mutable?, Eli Zaretskii, 2021/07/05
- Re: Which Elisp types are mutable?, tomas, 2021/07/05
- RE: [External] : Re: Which Elisp types are mutable?,
Drew Adams <=
- Re: [External] : Re: Which Elisp types are mutable?, address@hidden, 2021/07/05
- RE: [External] : Re: Which Elisp types are mutable?, Drew Adams, 2021/07/05
- Re: [External] : Re: Which Elisp types are mutable?, address@hidden, 2021/07/05
- RE: [External] : Re: Which Elisp types are mutable?, Drew Adams, 2021/07/05
- Re: [External] : Re: Which Elisp types are mutable?, Emanuel Berg, 2021/07/05