Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 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