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