dao
dao copied to clipboard
Enhancement: for-in loop tuple assignment
It would be quite convenient to allow assignment to a tuple in a for-in loop like this:
m={0->5, 1->6, 2->7}
for ((a,b) in m) io.writeln(a, b)
It would also be nice if the value yielded in for-in in case of a map would be a named tuple.