Is it possible to specify a variable number of parameter types in Julia, for instance something like
function {T...}my_fun(x...)
for i in 1:length(x)
println(typeof(x[i]) <: T[i])
end
end
should print true ... times
Thanks
Is it possible to specify a variable number of parameter types in Julia, for instance something like
function {T...}my_fun(x...)
for i in 1:length(x)
println(typeof(x[i]) <: T[i])
end
end
should print true ... times
Thanks