Enum.fetch/2
defmodule Enum do
def fetch(enumerable, index)
end
Finds the element at the given index
(zero-based) and returns {:ok, element}
if found.
A negative index
can be passed, which means the index is counted from the end.
Returns :error
if the given index is outside the range of the enumerable.