Hi,

I am trying to iterate over a range of numbers. I know I can do this:

for i in 1:10
println(i)
end

but, if I am not wrong, it creates a list from 1 to 10 and iterates over it.
Is there a more memory efficient method so that it does not create and 
store the list? something that returns an iterator object similar to 
Python's xrange().

Many thanks

Reply via email to