Hi, I'm tying to create a parametric type which can hold a variable which
could be any kind of vector, and whatever the vector is, it can store one
of the UInts. So it could have:
UInt8[1,2,3]
UInt64[1,2,3]
UnitRange(1, 3)
UnitRange(UInt16(1), UInt16(3))
... and so on.
But I'm having trouble deciding what needs to go in the parametric part of
it's definition: e.g.
MyType{T <: (unsure of this bit)}
val::T
end
I thought that AbstractVector{Unsigned} might be the way to go, but
Vector{UInt8} does not inherit from AbstractVector{Unsigned}.
Thanks,
Ben.