#flatten (Re: [squeak-dev] The Inbox: Collections-fbs.489.mcz)

H. Hirzel hannes.hirzel at gmail.com
Tue Aug 21 17:31:44 UTC 2012


I assume it has to go from the method protocol '*packageinfo-base'  to
'filter streaming'?

--Hannes

On 8/21/12, Bert Freudenberg <bert at freudenbergs.de> wrote:
> On 2012-08-20, at 22:54, Levente Uzonyi wrote:
>
>>  I usually use #gather: when I need to flatten a level on a collection.
>> Deeper than two-levels collection structures are pretty rare in Smalltalk.
>> I guess this is why there's no #flatten yet.
>
>
> Me too. Works fine with collections of collections of Strings, for example.
>
> It should just be moved into the Collections package properly ...
>
> - Bert -
>
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Collection--gather.png
Type: image/png
Size: 44632 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20120821/254478b1/Collection--gather.png


More information about the Squeak-dev mailing list