On 01-12-15 11:46, Sven Van Caekenberghe wrote:
The basic question for me is, what should

   #() sum

return. Right now, it is an error, I would very much like that for this common 
case the result would be 0. There is a lot of power (easy of use) in a unary 
selector, we should not destroy that with semantics that force a test before 
using it.

I like the error, it aligns with most of our collection protocol.
It shows the need for #sum:ifEmpty: though

Stephan



Reply via email to