Y
Hacker News
new
|
ask
|
show
|
jobs
by
moosingin3space
3649 days ago
Elixir and F# have my favorite syntax for that:
values |> map(&({})) |> flatten |> compact |> uniq
Although, the closure syntax is a little clunky before you get used to it.