On Mon, Sep 02, 2019 at 11:44:10AM +0200, Andreas Röhler wrote: > Hi, > > is there a recommended way to replace element x at index i of > somelist  y by newelement? Like this? scheme@(guile-user)> (define lst (list-copy '(fire water air earth))) scheme@(guile-user)> (list-set! lst 2 'mud) $3 = mud scheme@(guile-user)> lst $4 = (fire water mud earth) Note the "list-copy" above. Strange things might happen to your computer if you try to mutate immutable data ;-D Cheers -- t