Stream.take/2
defmodule Stream do
def take(enumerable, count)
end
Lazily takes the next count elements from stream and stops enumeration.
If a negative count is given, the last count values will be taken.
defmodule Stream do
def take(enumerable, count)
end
Lazily takes the next count elements from stream and stops enumeration.
If a negative count is given, the last count values will be taken.