There's associateBy for that: `list.associateBy({ ...
# stdlib
i
There's associateBy for that:
list.associateBy({ it }, { f(it) })