For what is worth, the error message on main says:

---

iex(1)> [1, 2, 3][0]
** (ArgumentError) the Access module does not support accessing lists by
index, got: 0

Accessing a list by index is typically discouraged in Elixir, instead we
prefer to use the Enum module to manipulate lists as a whole. If you really
must access a list element by index, you can Enum.at/1 or the functions in
the List module
---

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4KaQjO4D%3DJa46z6sOY-Wj9a8cb0%2BB7N%3DUGx5cYjKKGSjw%40mail.gmail.com.

Reply via email to