replace abstract method

$R replace(
  1. int index,
  2. $E v
)

Returns a new list with the item at index replaced with a new value

Implementation

$R replace(int index, $E v);