Sorry for stupid question, but shouldn’t `List` in...
# announcements
n
Sorry for stupid question, but shouldn’t
List
in kotlin be immutable?
Copy code
/**
 * Returns a [List] containing all elements.
 */
public fun <T> Sequence<T>.toList(): List<T> {
    return this.toMutableList()
}