duplicate-aware list intersection in elixir
def intersect(a, b), do: a -- (a -- b)
Written by Szymon Pilkowski
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Elixir
Authors
Related Tags
#elixir
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#