On Tue, Jun 14, 2005 at 11:33:21PM +0200, Juerd wrote:
: You suggested cat as a join assuming '' in an old thread. I still like
: that idea.
:     [ 'a' .. 'e' ].join   # "a b c d e"
:     [ 'a' .. 'e' ].cat    # "abcde"

I had forgotten that.  Yes, there is a little something to be
said for preserving the (mostly false) symmetry of split and join.
I think I argued for .cat on the basis that it also gives us cat as
a list operator.  But these days that's just [~], so at the moment
I'm inclined to stick with argumentless .join doing concatenation,
especially since I'd like to undo the split(' ') special case anyway
and use a different notation for word splitting.


Reply via email to