You can do something like that: t = tuple(1,2,3,4)
function subtuple(t::Tuple,i::Integer)
idx = 1:length(t)
idx = setdiff(idx,i)
t[idx]
end
subtuple(t,3)
(1,2,4)
You can do something like that: t = tuple(1,2,3,4)
function subtuple(t::Tuple,i::Integer)
idx = 1:length(t)
idx = setdiff(idx,i)
t[idx]
end
subtuple(t,3)
(1,2,4)