[Pharo-dev] Missing collectAsSet: in Pharo 3.0

Yuriy Tymchuk yuriy.tymchuk at me.com
Tue Dec 10 08:28:28 EST 2013


On 10 Dec 2013, at 14:23, Esteban Lorenzano <estebanlm at gmail.com> wrote:

> I don't think it has to be in the image, 
> 
> After all, you can just replace your calls for #collect:as:

I agree. But either you have both 
collectAsSet:
flatCollectAsSet:

or you have none. But now there is only flatCollectAsSet: which rises a question: “why there is no collectAsSet: ?”

Cheers!
Uko


> 
> Esteban
> 
> 
> 
> 
> On Tue, Dec 10, 2013 at 2:21 PM, Roberto Minelli <roberto.minelli at usi.ch> wrote:
> Hi,
> 
> In Pharo 3 you guys integrated Doru’s CollectionsExtension package, which is great.
> 
> You forgot, however, to integrate the utility method #collectAsSet: I was using in several places in my code.
> 
> It should be simply
> ^ self collect: aBlock as: Set
> 
> Could someone please put this in the standard image please? Thanks.
> 
> Cheers,
> R
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131210/5564486a/attachment-0002.html>


More information about the Pharo-dev mailing list