New features
David Hopwood
david.nospam.hopwood at blueyonder.co.uk
Thu Apr 14 19:54:16 PDT 2005
Brian Rice wrote:
> On Apr 13, 2005, at 12:32 PM, Brian Rice wrote:
>
>> Sequence methods: concatenateAll:, concatenateAll:separatedBy: to join
>> sequences together, or with a separator sequence. chainPairsDo: is
>> like pairsDo: but the block is applied to each element twice, once as
>> next argument, then as the first (except for the first and last
>> elements, of course).
>
> On further thought, concatenateAll: and such probably deserve a more
> succinct selector. The equivalent of this is "join" in
> perl/python(/ruby? I forget), although Common Lisp / Dylan just call it
> "concatenate". [...] Ideas?
Haskell calls it "concat". I don't see the motivation for ";*".
--
David Hopwood <david.nospam.hopwood at blueyonder.co.uk>
More information about the Slate
mailing list