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