aha! thanks! i thought i was doing something wrong with the captures or 
something.

so that means you could surround it in a `(block:)`
    
    
    result.add (block:genAst(i, x, y, op):
        block:
          var
            a{.inject.} = x[i]
            b{.inject.} = y[i]
          op
      )
    
    
    Run

Reply via email to