Last Updated: December 26, 2017
·
1.128K
· ard

duplicate-aware list intersection in elixir

def intersect(a, b), do: a -- (a -- b)