Skip to content
/ rangex Public

A Dart utility package that truly mirrors Python's range — for precise and intuitive iteration.

License

Notifications You must be signed in to change notification settings

fa0311/rangex

Repository files navigation

rangex

A Dart utility package that truly mirrors Python's range — for precise and intuitive iteration.

Usage

import 'package:rangex/rangex.dart';

void main() {
  for (final i in range(5)) {
    print(i); // 0, 1, 2, 3, 4
  }
  for (final i in range(1, 5)) {
    print(i); // 1, 2, 3, 4
  }
  for (final i in range(0, 10, 2)) {
    print(i); // 0, 2, 4, 6, 8
  }
}

About

A Dart utility package that truly mirrors Python's range — for precise and intuitive iteration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages