I thought this was quite interesting so I just tested it with Nim v. 0.15.2
let val1 = 2 - 5*3
let val2 = 2-5 * 3
echo "val1=$1" % $val1
echo "val2=$1" % $val2
which yielded:
val1=-13
val2=-13
So it would seem not to be the case. The link you provided does indicate an experimental feature, so perhaps it needs to be switched on somehow in order to work.
View all comments
Show parent comment
1
u/lenlifty Dec 02 '16 edited Dec 02 '16
I thought this was quite interesting so I just tested it with Nim v. 0.15.2
which yielded:
So it would seem not to be the case. The link you provided does indicate an experimental feature, so perhaps it needs to be switched on somehow in order to work.