[Cuis-dev] Bag>>#sum:ifEmpty:

Luciano Notarfrancesco luchiano at gmail.com
Mon Oct 31 23:38:57 PDT 2022


I’m afk right now so I cannot check, but it sounds like I made a mistake.
Of course it should be the value of aBlock at each element times the number
of occurrences.

On Tue, 1 Nov 2022 at 07:33 Hernán Wilkinson <hernan.wilkinson at 10pines.com>
wrote:

> Hi,
>  the implementation of Bag>>#sum: aBlock ifEmpty: emptyBlock does not use
> the parameter aBlock at all and assumes that each of the elements answers
> the message *
>  @Luciano Notarfrancesco <luchiano at gmail.com> the implementation is yours
> and it is very new? Is there a reason you did that way?
>
> Thanks
> Hernan
>
>
> --
>
> *Hernán WilkinsonAgile Software Development, Teaching & Coaching*
> *Phone: +54-011*-4893-2057
> *Twitter: @HernanWilkinson*
> *site: http://www.10Pines.com <http://www.10pines.com/>*
> Address: Alem 896, Floor 6, Buenos Aires, Argentina
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20221101/3544b4be/attachment.htm>


More information about the Cuis-dev mailing list