Andrei: > I've also fixed Zip (finally!) to get rid of a couple of dirty tricks. > It turns out that front()/front(v)/moveFront() are a correct way to > abstract proxy ranges like Zip is.
In this changeset: http://www.dsource.org/projects/phobos/changeset/1968 I see code as: auto arr2 = t.field[1]; auto zShortest = zip(arr1, arr2); assert(equal(map!"a.at!0"(zShortest), [1, 2])); Changed in: auto arr2 = t.field[1]; auto zShortest = zip(arr1, arr2); assert(equal(map!"a.field[0]"(zShortest), [1, 2])); So is this related to this enhancement request? http://d.puremagic.com/issues/show_bug.cgi?id=4382 Bye, bearophile