[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Which Elisp types are mutable?
From: |
Philipp |
Subject: |
Re: Which Elisp types are mutable? |
Date: |
Mon, 5 Jul 2021 20:40:01 +0200 |
> Am 05.06.2021 um 16:25 schrieb Stefan Monnier via Users list for the GNU
> Emacs text editor <help-gnu-emacs@gnu.org>:
>
>> "You must not mutate them" is the definition of immutable.
>
> Not necessarily: where I come from "immutable" means that the object
> cannot and will not be mutated.
>
Then there are no immutable objects, because all objects are stored in mutable
memory. It's just that mutating some of them is a bit harder than others. So
this definition of "immutable" isn't very useful.
- Re: Which Elisp types are mutable?,
Philipp <=