I have an immutable Seq. I need to create a new Seq from it, with only one element changed, whose index is given to me. How can I do it ? (I think since the sequence is immutable I will need to use some function and create a new output sequence, but I do not know how to check index for conditional update in the "map" function.) Thanks