Join Slack
Powered by
or the same with filter: ``` mutableSetOf<Int&g...
# stdlib
i
ilya.gorbunov
06/11/2017, 3:46 AM
or the same with filter:
Copy code
mutableSetOf<Int>().let { uniques -> list.filterNotTo(mutableSetOf(), uniques::add) }
3
Views
Open in Slack
Previous
Next