Tullio - missing elements in vectors

Is it possible to do

X::Vector{Any}=zeros(2)

@tullio X[i] = [1,missing][i]

in one line? something like

@tullio X[i]::Vector{Any} := [1,missing][i]

Also, is it possible to apply a custom aggregation function? something like

@tullio  (x->join(x,' '))   s  := [1,2][i]