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