umka-lang icon indicating copy to clipboard operation
umka-lang copied to clipboard

Iterating by pointer

Open vtereshkov opened this issue 3 years ago • 0 comments

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 do for k, ^v in some_map

Split from #172 by @skejeton

vtereshkov avatar Jun 28 '22 20:06 vtereshkov