```val result = list.map{ f(it) }``` pretty much c...
# getting-started
k
Copy code
val result = list.map{ f(it) }
pretty much compiles to
Copy code
val result = mutableListOf<...>()
list.forEach {
    result.add(f(it))
}