Kernel.put_elem

You're seeing just the function put_elem, go back to Kernel module for more information.
Link to this function

put_elem(tuple, index, value)

View Source

Specs

put_elem(tuple(), non_neg_integer(), term()) :: tuple()

Puts value at the given zero-based index in tuple.

Inlined by the compiler.

Examples

iex> tuple = {:foo, :bar, 3}
iex> put_elem(tuple, 0, :baz)
{:baz, :bar, 3}