I always assumed that that this code wouldn't allocate a new seq, and just
iterate over the existing one:
for it in someseq[1..^1]:
echo x
RunBut I don't see such iterators in system.nim. Is this an oversight?
I always assumed that that this code wouldn't allocate a new seq, and just
iterate over the existing one:
for it in someseq[1..^1]:
echo x
RunBut I don't see such iterators in system.nim. Is this an oversight?