help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Edit a cl-struct by copy, or, slot-value for cl-structs


From: Emanuel Berg
Subject: Re: Edit a cl-struct by copy, or, slot-value for cl-structs
Date: Sat, 30 Oct 2021 00:02:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Michael Heerdegen wrote:

>> (make-xxx :slot1 (xxx-slot1 obj)
>>           :slot2 (xxx-slot2 obj)
>>           :slot3 newvalue)
>
> Sorry for the dumb question, but isn't that more or less the
> same as `xxx-copy' plus modifying slot3 of the copy?

But you are not allowed to do that :)

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]