Swap order of zipped lists to create learning opportunity

Zipping atoms and numbers creates an opportunity for the learner to
realize "💡 I just made a keyword list!"
This commit is contained in:
Jay Hayes
2016-05-04 19:36:12 -05:00
parent 3e163a2bd3
commit d37df5fa77
2 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ defmodule EnumTests do
[1,2,3],
[1,2,3,4,5],
[1,2,3],
[{1, :a}, {2, :b}, {3, :c}],
[a: 1, b: 2, c: 3],
2,
nil,
:no_such_element,