arg = [1, 2, 3] # This doesn't crash: for {key, value} <- arg, do: ... # But this will: Enum.map(arg, fn {key, value} -> ... end)
> Generators can also be used to filter as it removes any value that doesn't match the pattern on the left side of <-
> Generators can also be used to filter as it removes any value that doesn't match the pattern on the left side of <-