Hacker News new | ask | show | jobs
by kaeawc 3312 days ago
In Kotlin it's much more common to write the following, which is exclusive:

   count.forEach {
      // do things
   }