From: Tom Verbeure [mailto:hombre / gmail.com]=20
# indices     =3D 1.upto(points.size)
# zipped =3D indices.zip(distances, points)

  (1..points.size).zip(distances,points)

but arrays have builtin indices, why not

  distances.zip(points)

?