Closed GoogleCodeExporter closed 9 years ago
Implemented in r87.
Original comment by azizatif
on 7 Apr 2009 at 7:38
Okay, I'm on board with the idea of three methods. I'm not sure they're the
right
names though. In particular, *not* coming from a Python background, I'd expect
an
error from just "Zip" with unequal lengths.
How about:
Zip - throw error
ZipTruncate - stop at end of shorter sequence
ZipExtend - extend shorter sequence with default values
Original comment by jonathan.skeet
on 7 Apr 2009 at 7:56
I've changed the summary to not have the method names in it. As a result, this
issue
was just about having ImbalancedZipStrategy live in shadow of distinct method
name
that embody the strategy. Give that, I'm closing it again ;) because that bit
is
done.
@jonathan.skeet: May be open three new issues along the lines of:
- Consider renaming Zip
- Consider renaming EquiZip
- Consider renaming ZipLongest
Original comment by azizatif
on 7 Apr 2009 at 8:57
Original issue reported on code.google.com by
azizatif
on 7 Apr 2009 at 7:35