tl;dr
How do a write a nx1 array literally such that it is an Array{T,2} ?
This all started when I tried to do the following,
julia> Array{UInt32,2}([1,2])
ERROR: MethodError: Cannot `convert` an object of type Array{Int64,1} to an object of type Array{UInt32,2}
This may have arisen from a call to the constructor Array{UInt32,2}(...),
since type constructors fall back to convert methods.
Solution should be easy, I just needed to write an Array{UInt64,2} literally. Another in the category of this should be easy to find, and yet…
julia> a=reshape([2,1],(2,1))
2×1 Array{Int64,2}:
2
1
julia> println(a)
[2; 1]
julia> [2;1]
2-element Array{Int64,1}:
2
1
julia>
I was expecting [2;1] to be Array{Int64,2}.
It seems like the written representation and the println representation should be consistent.