[squeak-dev] The Inbox: Collections-ul.587.mcz
asqueaker at gmail.com
Wed Nov 19 03:45:48 UTC 2014
On Tue, Nov 18, 2014 at 5:08 PM, Levente Uzonyi <leves at elte.hu> wrote:
> Hi All,
> The reason why I put this into The Inbox instead of The Trunk is that it
> changes the behavior of #sum when the Interval is empty.
> The current implementation raises an error - which is correct for a
> Collection which may contain any object - but I think for Intervals the
> preferred behavior is to return 0. Any objections?
0 seems very reasonable.
More information about the Squeak-dev