join
Lex Spoon
lex at cc.gatech.edu
Tue Sep 26 21:02:09 UTC 2006
"J J" <azreal1977 at hotmail.com> writes:
> Duplicating what others have when you don't have it is important. But
> if you can improve on it at no extra cost then why not?
You did not address the example I gave:
> > $(1 2 3) join: ', ' "gives: 1, 2, 3"
For this kind of use case, it would be nice if the join called
asString on the elements of the receiver.
I expect that this kind of use case, where you are turning a
collection into a space- or comma-delimited string for output, is the
most common use case.
-Lex
More information about the Squeak-dev
mailing list
|