umka-lang
umka-lang copied to clipboard
Iterating by pointer
Allow iterating by reference.. This would be soo convenient. Essentially you can do
for k, &v in some_map. This would be very useful for mutative iterations (and arguably non copying). As an alternative option you can dofor k, ^v in some_map
Split from #172 by @skejeton