Enum.zip/2
defmodule Enum do
def zip(enumerable1, enumerable2)
end
Zips corresponding elements from two enumerables, enumerable1
and enumerable2
into one list of tuples.
The zipping finishes as soon as any enumerable completes.
defmodule Enum do
def zip(enumerable1, enumerable2)
end
Zips corresponding elements from two enumerables, enumerable1
and enumerable2
into one list of tuples.
The zipping finishes as soon as any enumerable completes.