ilya.gorbunov
08/04/2016, 8:57 PMfun <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.