https://kotlinlang.org logo
e

Egor Trutenko

12/21/2018, 11:51 AM
Right. Although, there was some arguments about that in another Kotlin-related chat regarding
fun <T> List(size: Int, block: (Int) -> T): List<T>
from stdlib, and personally I don't like those "constructors". But it is a fair point, yeah