March 1, 2019
11:22 a.m.
Actually thats quite a good suggestion - it probably should have been: #upTo: #downTo: #to:by: In the first place (but Iâm guessing this change will never happen)
On 1 Mar 2019, at 05:35, K K Subbu <kksubbu.ml@gmail.com> wrote:
On 28/02/19 6:33 PM, Tim Mackinnon wrote:
So I would expect â1 to: 0â to see: 1 -> 1 2 -> 0.
It is difficult for code to guess the intent of the coder. Did the coder intend an decreasing sequence or a stopping condition (i == end or i > end?). Perhaps, we could use an explicit selector:
5 downto: 1
to disambiguate between the two cases.
Regards .. Subbu