>
>
> The fact that meaning of  "," changes depending on what is in placed in 
> [a,b,c] seems have been the source of the issue.
>
> (As an aside, this inconsistency seems to me to be somewhat of a 
> less-than-desireable feature in Julia.)
>


I think this is changing in v0.5. See 
https://github.com/JuliaLang/julia/blob/master/NEWS.md#language-changes-1

Square brackets and commas (e.g. [x, y]) no longer concatenate arrays, and 
always simply construct a vector of the provided values. If x and y are 
arrays, [x, y] will be an array of arrays (*#3737* 
<https://github.com/JuliaLang/julia/issues/3737>, *#2488* 
<https://github.com/JuliaLang/julia/issues/2488>, *#8599* 
<https://github.com/JuliaLang/julia/issues/8599>).

Reply via email to