Jonathan M Davis:
Can anyone think of any situation where an infinite bidirectional range would make any sense at all?
I have implemented a simple Turing machine (to test a busy beaver) in D where the tape is finite in both directions, but when the machine tries to write past one of the ends of the tape, it grows longer as needed. I have not used ranges to implement this, but maybe they are usable for this.
Bye, bearophile
