Created
July 19, 2016 16:16
-
-
Save nwalker/d26254bab770bceafa8a8e1ac2b9258c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| iex(1)> a = [{"asd", 123}] | |
| [{"asd", 123}] | |
| iex(2)> a["asd"] | |
| ** (ArgumentError) the Access calls for keywords expect the key to be an atom, got: "asd" | |
| (elixir) lib/access.ex:136: Access.fetch/2 | |
| (elixir) lib/access.ex:149: Access.get/3 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment