A.List.prepend

You're seeing just the function prepend, go back to A.List module for more information.

Prepends an element to a list, equivalent of [elem | list] that can be used in a pipe.

Examples

iex> [2, 3, 5, 8] |> A.List.prepend(1)
[1, 2, 3, 5, 8]