`foreach(enum i;0..3)` should lower to `foreach(enum i;Seq(0,1,2))` also ranges `foreach(enum i; iota(0,10).filter!(a=>a%2)){` Maybe do `AliasSeq!(r.array.tupleof)`? I think would work?