Enum.split/2

defmodule Enum do
  def split(enumerable, count)
end

Splits the enumerable into two enumerables, leaving count elements in the first one.

If count is a negative number, it starts counting from the back to the beginning of the enumerable.