[Top][All Lists]

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

Re: Replace element in list

From: tomas
Subject: Re: Replace element in list
Date: Mon, 2 Sep 2019 15:43:42 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Sep 02, 2019 at 09:29:39AM -0400, Stefan Monnier wrote:
> > 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?

Thanks for putting my mumbling into civilised words :-)

-- t

Attachment: signature.asc
Description: Digital signature

reply via email to

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