There will be function `fun <T> ImmutableLis...
# stdlib
i
There will be function
fun <T> ImmutableList<T>.mutate((MutableList<T>) -> Unit): ImmutableList<T>
for immutable list. Also its
set
function has the signature as @rocketraman asking:
fun set(index: Int, element: E): ImmutableList<E>
. Not sure, we should have something like for read-only lists though.