iter = from_to(0,3); result = iter.next(); while (!result.done) { print (result.value); result = iter.next() }
Output