Default is the parameter default.

On 29 jul 2013, at 00:23, AtKaaZ <notifications@github.com> wrote:

In lib/elixir/lib/enum.ex:

> @@ -195,8 +195,7 @@ defmodule Enum do
>
>    @doc """
>    Finds the element at the given index (zero-based).
> -  Raises out of bounds error in case the given position
> -  is outside the range of the collection.
> +  Returns `default` if index is out of bounds.

what is default ? apparently is nil?

—
Reply to this email directly or view it on
GitHub<https://github.com/elixir-lang/elixir/pull/1513/files#r5441229>
.