Kotlin Discussions
forEach with elements as the receivers
Libraries
stantronic
February 4, 2018, 3:30pm
16
How about
collection.asEach { someFunction() }
show post in topic
Related topics
Topic
Replies
Views
Activity
forEachApply
Language Design
2
1590
March 8, 2018
`for` statement performance improvement (Kotlin/JVM)
Language Design
31
7205
August 31, 2021
Iterating with: operator fun <T> Iterable<T>.invoke(f: T.(Int) -> Unit)
Language Design
6
1528
April 22, 2018
What is a "receiver"?
Support
16
12729
August 27, 2020
Public review of the Standard Library APIs [Closed]
Libraries
73
12657
February 15, 2016