I'm a fan of Array(Int, 0). You can also use this constructor to make empty 
n-dimensional arrays, if that's ever useful. 

On Friday, June 19, 2015 at 11:49:01 AM UTC-4, Seth wrote:
>
>
>
> I note that Int[] works in 0.3 and 0.4, but Vector{Int}() and 
> Array{Int,1}() were introduced at some point in 0.4 (but this syntax 
> hasn't been backported or Compat'ed for 0.3 - I have an issue open for 
> that). Going forward, what's the recommended way to do this? (Am I missing 
> another constructor?)
>

Reply via email to