why not `listOf(1, 2, 3, 4).takeWhile{ it <= 3 ...
# announcements
j
why not
listOf(1, 2, 3, 4).takeWhile{ it <= 3 }.forEach { println(it) }