if you want better syntax, you could just define a...
# announcements
k
if you want better syntax, you could just define a helper function:
Copy code
inline fun loop(block: (index: Int) -> Boolean) {
  for(i in 0..Int.MAX_VALUE) {
    if(!block(i)) {
      break
    }
  }
}