Runnable version: http://try.kotlinlang.org/#/UserProjects/h98israna39btvnahdbghp21jm/ke0lmunnpg0ncu9gvkj8fihpna
Kotlin's function invocation syntax lets you close the parens early and supply the last function argument as a block like so:
foo(bar, baz) { it > squiggle }
Which is equivalent to:
foo(bar, baz, { it > squiggle })
Note that for this to work, the last argument passed to the function must be another function.
I thought, hey, why not use this to build my own loops...