`listOf(2,3,4).flatMap { val l = mutableListOf(it)...
# stdlib
n
listOf(2,3,4).flatMap { val l = mutableListOf(it); if (it % 2 == 0) l.add(-it); l }