I see that I can do:

    b = Array{Int64, 1}
    #=> Array{Int64,1}

but why can't I push anything to that?:

    push!(b, 10)
    # ERROR: `push!` has no method matching push!(::Type{Array{Int64,1}}, 
::Int64)

Hm. Can't push anything to this either though:

~~~
c = []
#=> 0-element Array{None,1}
push!(c, 10)
ERROR: [] cannot grow. Instead, initialize the array with "T[]", where T is 
the desired element type.
 in push! at ./array.jl:457
~~~

Reply via email to