Returns a new list with the item at index replaced with a new value
index
$R replace(int index, $E v);