replace abstract method

Result replace(
  1. int index,
  2. Elem v
)

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

Implementation

Result replace(int index, Elem v);