Get started

addingAt

open fun addingAt(index: Int, element: E): PersistentList<E>(source)

Returns a new persistent list with the specified element inserted at the specified index.

Throws

if index is out of bounds of this list.