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

Bert Freudenberg bert at freudenbergs.de
Tue Aug 21 16:35:27 UTC 2012


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 -




More information about the Squeak-dev mailing list