Zip<A> extension

on

Methods

zipWith<B>(Iterable<B> other) Iterable<(A, B)>

Available on Iterable<A>, provided by the Zip extension

Creates an iterable of Product2<A, B> by pairing up equally positioned items from both iterables this and other. The returned iterable is truncated to the length of the shorter of the two iterables.