Sorry, to clarify a little: The things you're zipping are not necessarily indexable (i.e. other iterators), so it's not safe to assume you can always index a Zip.
On Thu, Jun 23, 2016 at 2:21 PM, Jacob Quinn <quinn.jac...@gmail.com> wrote: > Most "iterator" types are not indexable, AFAIK. The typical > recommendation/idiom is to just call `collect(itr)` if you need to > specifically index. > > -Jacob > > On Thu, Jun 23, 2016 at 2:18 PM, Davide Lasagna <lasagnadav...@gmail.com> > wrote: > >> Is there any particular reason why `Zip` objects are iterable but not >> indexable? Python allows that. >> >> From previous discussion on the topic (2014 topic at >> https://groups.google.com/forum/#!topic/julia-dev/5bgMvzJveWA) it seems >> that it has not been implemented yet. >> >> Thanks, >> >> >> >