I want to transform a specific element in a list. ...
# announcements
m
I want to transform a specific element in a list. I have this list {a,b,c,d,e} and i want a method with an index and change value at specific index 2, y -> {a, b, y, d, e}. List is immutable, do you have an idea ?