3 ms·
Elixir and F# have my favorite syntax for that: values |> map(&({})) |> flatten |> compact |> uniq Although, the closure syntax is a little clunky before
by moosingin3space 10y 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.