4 ms·
IIRC Fortran also allows you do to do this. Another would be Rebol: >> a: [0 1 2 3 4 5] == [0 1 2 3 4 5] >> a/1 == 0 >> a/2 == 1 >> a:
by draegtun 12y ago
IIRC Fortran also allows you do to do this.
Another would be Rebol:
>> a: [0 1 2 3 4 5]
== [0 1 2 3 4 5]
>> a/1
== 0
>> a/2
== 1
>> a: next a
== [1 2 3 4 5]
>> a/1
== 1
>> a/2
== 2
>> a/0
== 0