2c33ebed7 ^
75097e298 ^
1 2 3 4
5 6 7 8 9 10
11
discard """ output: '''true''' """ import sequtils var x = @[1, 2, 3] x.apply(proc(x: var int) = x = x+10) x.apply(proc(x: int): int = x+100) x.applyIt(it+5000) echo x == @[5111, 5112, 5113]