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

duplicate-aware list intersection in elixir

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