[Top][All Lists]

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

Re: Replace element in list

From: Stefan Monnier
Subject: Re: Replace element in list
Date: Mon, 02 Sep 2019 09:29:39 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> is there a recommended way to replace element x at index i of somelist 
> y by newelement?

What Thomas is hinting at with his "copy-list" and "functional sector"
is that if you need to do that, there's a problem upstream.
E.g. could you use a struct instead of a list?


reply via email to

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