grizzly_range 2.0.2 copy "grizzly_range: ^2.0.2" to clipboard
grizzly_range: ^2.0.2 copied to clipboard

outdated

Lazy and efficient 'range' iterables to generate values based on start, stop and step/count.

Range #

Lazy and efficient 'range' iterables to generate values based on start, stop and step/count.

Int ranges #

print(IntRange(0, 5));

Ranges can also be descending:

print(IntRange(5, -5));

Until #

IntRange.until returns an Iterable<int> with range [0, stop] with provided step.

print(IntRange.until(50, 10));

Linspace #

IntRange.linspace returns an Iterable<int> with range [start, stop] with [count] elements in it.

print(IntRange.linspace(1, 10, 5));

TODO DoubleRange

TODO TimeRange

TODO MonthRange

TODO others

0
likes
0
pub points
16%
popularity

Publisher

unverified uploader

Lazy and efficient 'range' iterables to generate values based on start, stop and step/count.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

meta, quiver_hashcode

More

Packages that depend on grizzly_range