Hi Henrik,
On 25 Dec 2015, at 14:08, Henrik Nergaard <henrin10@student.uia.no> wrote:
Like this? http://smalltalkhub.com/#!/~Latsabben/NumIt
That is a cool take on a possible approach. Thanks for doing it, it makes it much easier to think about and discuss alternatives. This inspired me to do something similar, but not quite. I am just thinking out loud by implementation. Here is my result: There are some examples in the class comments. Sven
Best regards, Henrik
-----Original Message----- From: Pharo-dev [mailto:pharo-dev-bounces@lists.pharo.org] On Behalf Of stepharo Sent: Thursday, December 24, 2015 9:58 AM To: Pharo Development List <pharo-dev@lists.pharo.org> Subject: Re: [Pharo-dev] #sum:, #detectSum:, #sumNumbers:
Just a remark. I think that we discarded the proposition of having
aCol arithmetic sum
but I found it nice because there if was clear that you want to get back 0 for #().
Stef