Tuple.append/2
defmodule Tuple do
def append(tuple, value)
end
Inserts an element at the end of a tuple.
Returns a new tuple with the element appended at the end, and contains the elements in tuple followed by value as the last element.
defmodule Tuple do
def append(tuple, value)
end
Inserts an element at the end of a tuple.
Returns a new tuple with the element appended at the end, and contains the elements in tuple followed by value as the last element.