Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
fineline
on May 19, 2017
|
parent
|
context
|
favorite
| on:
Learn Kotlin in Y Minutes
I guess they're just showing off mapKeys, but couldn't that line be eliminated with:
.groupBy {if (it % 2 == 0) "even" else "odd"}
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: