public native Generator(start as T, stop as T, delta as T) throws ValueError
Creates an immutable generated sequence from start to stop.
This constructor is intentionally native because the compiler/runtime iterate generators through an internal contiguous storage path. The storage remains private to the runtime: Generator<T> does not expose collection mutation or random-access APIs.
values = Generator<Int>(0, 3, 1) for value in values: print(value)