On Apr 11, 2009, at 10:47 AM, Oscar Nierstrasz wrote:
>
> Hi Syef, ;-)
:)
> I am going over the two split-join implementations, merging
> functionality, generalizing and making the interfaces consistent.
>
> About your proposal:
>
> splitOn: should always return an OrderedCollection containing elements
> of the same type as the receiver.
>
> 'banana' splitOn: 'an' -> an OrderedCollection('b' '' 'a')
ok :)
> It doesn't make sense for this to return a String.
>
> When joining, of course the original type should be returned no matter
> what kind of sequenceable collection was split.
>
> I am preparing tests for all the cases.
excellent.
When I see all the methods that we should remove from morph
I'm convinced that this addition will be a good one proportionally to
its size
Stef
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project