Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Kotlin 1.1: What’s coming in the standard library. Parent comment
arrayOf("A","B","C").onEach{ print("onEach $it")}.forEach{ print("forEach $it")}
prints:
onEach A forEach A onEach B forEach B onEach C forEach C
arrayOf("A","B","C").onEach{ print("onEach $it")}.forEach{ print("forEach $it")}
prints:
onEach A forEach A onEach B forEach B onEach C forEach C