You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement a zip extension method for Iterable and Iterator. This method will produce a list of pairs from both sources by their index. This is known from other languages and frameworks, such as Haskell, Scala, Kotlin, or Eclipse Collections.
Implement a
zip
extension method forIterable
andIterator
. This method will produce a list of pairs from both sources by their index. This is known from other languages and frameworks, such as Haskell, Scala, Kotlin, or Eclipse Collections.static def <T,V> Iterable<Pair<T,V>> zip(Iterable<? extends T>, Iterable<? extends V>)
static def <T,V,Y> Iterable<Y> zip(Iterable<? extends T>, Iterable<? extends V>, (T,V)=>Y merger)
static def <T,V> Iterator<Pair<T,V>> zip(Iterator<? extends T>, Iterator<? extends V>)
static def <T,V,Y> Iterator<Y> zip(Iterator<? extends T>, Iterator<? extends V>, (T,V)=>Y merger)
If you want this ticket to be implemented, please give feedback, since it is only implemented on demand.
The text was updated successfully, but these errors were encountered: