Enum.reverse_slice

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

reverse_slice(enumerable, start_index, count)

View Source

Specs

reverse_slice(t(), non_neg_integer(), non_neg_integer()) :: list()

Reverses the enumerable in the range from initial start_index through count elements.

If count is greater than the size of the rest of the enumerable, then this function will reverse the rest of the enumerable.

Examples

iex> Enum.reverse_slice([1, 2, 3, 4, 5, 6], 2, 4)
[1, 2, 6, 5, 4, 3]