Enum.zip_with/3
defmodule Enum do
def zip_with(enumerable1, enumerable2, fun)
end
Zips corresponding elements from two enumerables, enumerable1
and enumerable2
into one list using zip_fun
as transforming function.
The zipping finishes as soon as any enumerable completes.