Nice thing about: Int[] is that it is visially similar to a empty Array 
comprehension,
eg Int[round(Int, x) for x in xs]

  


On Friday, 19 June 2015 23:49:01 UTC+8, 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