
April 11, 2014
11:23 p.m.
On Fri, Apr 11, 2014 at 6:55 AM, João Bernardo <jbvsmo@gmail.com> wrote:
Some guy did a similar thing, just better: https://github.com/JulienPalard/Pipe
João Bernardo
It's interesting how that one puts the logic in the pipe elements instead of the iterators. Here's one that does the method chaining route, kind of an "Itertools: the class". http://code.activestate.com/recipes/498272-rich-iterator-wrapper/ I like that connects indexing to `islice`. Mark Daoust