ref: 58c27b2d8d021d485feb47aeb9744c7ae27d9112
dir: /lib/iter/test/enum.myr/
use std const main = { var n n = 0 for (x, i) : std.byenum([1,3,5,7,9][:]) std.assert(x == n, "invalid enum idx {}", x) std.assert(i == n*2 + 1, "invalid enum val {}", i) n++ ;; }