or the same with filter: ``` mutableSetOf<Int&g...
# stdlib
i
or the same with filter:
Copy code
mutableSetOf<Int>().let { uniques -> list.filterNotTo(mutableSetOf(), uniques::add) }