I was thinking the same thing the other day, when using *for x in xs* I often find myself needing an index at some point and then I have to change the for loop, or write an index manually.
Enumerate is exactly what I need in this case. +1 for Julia
I was thinking the same thing the other day, when using *for x in xs* I often find myself needing an index at some point and then I have to change the for loop, or write an index manually.
Enumerate is exactly what I need in this case. +1 for Julia