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

duplicate-aware list intersection in elixir

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