loom
1def int :
2end = 0,
3counter = 0
4
5def auto :
6__init__ = fn [self] (int : b, int : e) -> auto
7{
8def self : s
9
10s.end = e
11s.counter = b - 1
12
13return s
14},
15__iterator__ = fn (self : s) -> auto
16{
17s.counter += 1
18return s.counter
19}
20