I have a list which I have used the function lists:nth() on to return the value of an element at a certain index. Does anyone know how I can edit this value?
EDIT: Here is a bit more information.
Say I had a list L which represents a line of a text based grid
L = [H,H,H,H,H].
And I want to access a specified element say for example the third one and change it to E. Then if I was to use the list L again it would be
[H,H,E,H,H]
I hope this makes more sense.
Thank you.