Copyright Franson Technology AB, Sweden, 2009
http://gpsgate.com, http://franson.com
author Fredrik Blomqvist
Iterator module
Compatible with MochiKit.Iter protocol (will be added to JavaScript in v1.7) basically same as the Python itertools module.
tree Iters can be easily be adapted to traverse any tree structure like html-DOM, SVG/VML, quadtrees etc. (for structures supporting getNextSibling also (like DOM..) you can create completely stack-less iterators but I doubt it would be worth it unless you have very large graphs)
todo: flattenIter, bidirectionalIter (also see Python::itertools combinatoric generators) etcThis module contains the following classes: