I have only ever found zip useful in contexts with an arbitrary number
of arrays to zip.

I see.  That would be a kind of transpose operation.

That, and even though my naming skills haven't
improved, maybe #zip:zip:... would be a better naming convention to
describe this operation?

The #with: naming derives from SequenceableCollection>>#with:do:.

'123' with: '456' do: [ :a :b | (a, b) printNl ].
('123' with: '456') do: [ :ab | ab join printNl ].

I would like the Number methods in the stable series.

Thanks for the feedback.

Paolo


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to