I believe this is a more idiomatic use. At least it is shorter in these cases.
I read through the code and was actually quite surprised by the for VAR = STATEMENT clauses, since I had learned from the manual that for VAR = is for iteration, but of course it works as iterating one time.
By the way, applied this on top of my other pull-request, since I believe you should pull that as well 😊.
I believe this is a more idiomatic use. At least it is shorter in these cases.
I read through the code and was actually quite surprised by the
for VAR = STATEMENT
clauses, since I had learned from the manual thatfor VAR =
is for iteration, but of course it works as iterating one time.By the way, applied this on top of my other pull-request, since I believe you should pull that as well 😊.