Simplifies to
zipWithIndex
.
Before:
seq.zip(seq.indices)
After:
seq.zipWithIndex