Could someone please explain to me the difference between the two cases?
julia> y=[1]
1-element Array{Int64,1}:
1
julia> [y[1] for i=1]
1-element Array{Any,1}:
1
julia> [y[1]]
1-element Array{Int64,1}:
1
In particular, why is in the first case the element type is Any, but in the
second case it is Int64?
