Hi, say I want to define a custom type with a field that accepts any kind of iterable integer type as valid input (both 1:3 as well as collect(1:3)), how would I do that in the most generic way? I know that I can use
type test{T<:integer}
a::Union{Range{T},Vector{T}}
end
But there might be other iterable integer types that I did not think of
during implementation - how can I make the code even more generic?
Best,
Kevin
