Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,6 @@
|
|||
iex(1)> keys = [:one, :two, :three]
|
||||
[:one, :two, :three]
|
||||
iex(2)> values = [1, 2, 3]
|
||||
[1, 2, 3]
|
||||
iex(3)> Enum.zip(keys, values) |> Enum.into(Map.new)
|
||||
%{one: 1, three: 3, two: 2}
|
||||
Loading…
Add table
Add a link
Reference in a new issue