Hullaballoonatic
06/11/2019, 7:50 PMfun repeatReversed(times: Int, action: (Int) -> Unit) in stdlib?Marc Knaup
06/11/2019, 7:54 PM(n downTo 0).forEach { … }?Hullaballoonatic
06/11/2019, 7:56 PMrepeatReversed(n) would equate to (n - 1 downTo 0)::forEachHullaballoonatic
06/11/2019, 7:56 PMrepeat(n) in almost all cases over (0 until n)::forEachMarc Knaup
06/11/2019, 8:03 PM- 1.
The name repeatReversed is quite confusing already 😅Pavlo Liapota
06/11/2019, 8:08 PMHullaballoonatic
06/11/2019, 8:08 PM