A.Vector.concat
You're seeing just the function
concat
, go back to A.Vector module for more information.
Specs
concat(t(val), Enumerable.t()) :: t(val) when val: value()
Appends all values from an enumerable
at the end of a vector
.
Runs in effective linear time in respect with the length of enumerable
,
disregarding the size of the vector
.
Examples
iex> A.Vector.new(1..5) |> A.Vector.concat(10..15)
vec([1, 2, 3, 4, 5, 10, 11, 12, 13, 14, 15])
iex> A.Vector.new() |> A.Vector.concat(10..15)
vec([10, 11, 12, 13, 14, 15])