Quick question, folks:

Does f(x::Array{Union(Int8,Int16)}) mean that x must be all Int8 or all 
Int16 (homogenous), or each element can be either Int8 or Int16 
(heterogeneous)?

If the latter, then would I need to 
use f(x::Union(Array{Int8},Array{Int16})) to achieve the former?

If so, then what I am suggesting is having two array types, Array and Cell, 
and have f(x::Array{Union(Int8,Int16)}) be equivalent to the 
current f(x::Union(Array{Int8},Array{Int16})), and have 
f(x::Cell{Union(Int8,Int16)}) be equivalent to the current 
f(x::Array{Union(Int8,Int16)}).

Stefan, thank you very much for your answer. I will get back to you on it.

Reply via email to