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 :-) Cheers -- t