Enum.at/3

defmodule Enum do
  def at(enumerable, index, default \\ nil)
end

Finds the element in enumerable at the index index (zero-based).

A negative index can be passed, which means the index is counted from the end.

The function evaluates to default if the index is out of bounds.