Luke
items.forEach { it.apply { ... } }
tseisel
inline fun <T> Iterable<T>.each(block: T.() -> Unit) { for (el in this) { el.block() } }
listOf("Hello", "World").each { // this: String println(length) }
A modern programming language that makes developers happier.