May 25, 2015
5:24 p.m.
On 5/25/2015 6:02 AM, stepharo wrote:
The problem is that while the intention was nice 5 + (1 to: 10) could make sense, its side effects are worse.
Stef
I don't think there is anything wrong with your example, which is about vector operations and which I think make sense (I would have preferred if the result of the evaluation would have been an interval as well though). They are also part of the original protocol. I was only protesting the later addition of the arithmetic protocol to strings. It does not make sense to treat strings as vectors and there are no clear semantics for some other kind of string-specific arithmetic operations. Florin