zig-range

A range function to loop over an index without an extra variable.

MIT License

Stars
14

zig-range

A range function to loop over an index without an extra variable

Usage

for (range(10)) |_, i| {
    // 'i' will increment from 0 -> 9
}

Building Example Program

$ zigmod fetch
$ zig build

Built With

License

MIT

Badges
Extracted from project README
license discord