Suggestion on better coding style

data = [[1, 5], [3, 12], [4, 10]]
Enum.into(data, %{}, fn [a,b] -> {a, b} end)
4 Likes