I assume you realize that your second example will not get to "Year Zero" since 
it sure looks like you are requesting an infinite number of B.C. years?

Not sure you want to build an entire lazy evaluation system and symbology like 
Perl6..It's easy to do an infinite iterator by just doing your own iterator 
called `fromXtoInf` 
[https://nim-lang.org/docs/tut1.html#iterators](https://nim-lang.org/docs/tut1.html#iterators)
 (and you could put that unicode ∞ symbol in the iterator name if you want, but 
you might need to backquote the symbol). I'm really not sure, though, how many 
would think that is clearer than simply: 
    
    
    number = 0
    while true:
      number.inc
      ...
    
    
    Run

Reply via email to