www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - interesting iterator library

reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
Interesting design. The interfaces map quite well to the issues 
addressed by ranges.

http://www.php.net/~helly/php/ext/spl/


Andrei
Jan 19 2010
parent reply Jesse Phillips <jessekphillips+D gmail.com> writes:
Andrei Alexandrescu wrote:

 Interesting design. The interfaces map quite well to the issues 
 addressed by ranges.

 http://www.php.net/~helly/php/ext/spl/


 Andrei

That is interesting, I like the 'RecursiveIteratorIterator" Ranges seem so much simpler.
Jan 20 2010
parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
Jesse Phillips wrote:
 Andrei Alexandrescu wrote:
 
 Interesting design. The interfaces map quite well to the issues 
 addressed by ranges.

 http://www.php.net/~helly/php/ext/spl/


 Andrei

That is interesting, I like the 'RecursiveIteratorIterator" Ranges seem so much simpler.

In fact the PHP iterators described therein have range interfaces. Andrei
Jan 20 2010