I agree! That was one of the first issues I filed. 
 https://github.com/JuliaLang/julia/issues/5187

It's still on the slate to be addressed in 0.4.

On Thursday, April 2, 2015 at 8:58:15 AM UTC-4, Jerry Xiong wrote:
>
> I notice that the logical operations in Julia have a different precedence 
> order from R and Matlab. & and | have higher precedence than .<, .>, etc. 
> For example, X.>0 & X.<1 will be parse as X .> (0 & X) .< 1 rather than 
> (X.>0) & (X.<1). I think there must be a reason for this anti-intuition 
> design. I just curious what it is? 
>

Reply via email to