Stream

zip_with/3

zip_with(enumerable1, enumerable2, fun)

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.