iterators

A collection of useful iterators.
https://github.com/RealyUniqueName/Iterators

To install, run:

haxelib install iterators 1.2.1 

See using Haxelib in Haxelib documentation for more information.

README.md

Iterators Build Status

This is a set of frequently used iterators for Haxe collections and other types.

All iterators are designed to have zero impact on runtime performance.

Installation

haxelib install iterators

Usage

using Iterators;

for(i in 10.to(0).step(-2)) { //.step() is optional
	trace(i);
}

var map = ['hello' => 'world'];
for(p in map.pairs()) {
	trace(p.key);
	trace(p.value);
}

var str = 'hello';
for(c in str.chars()) {
	trace(c);
}

See Iterators.hx for all available extensions.

Contributors
RealyUniqueName
Version
1.2.1
Published
4 months ago
License
MIT

All libraries are free

Every month, more than thousand developers use haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on Github!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on Github