I believe it is because of the use of & in ccall as a pseudo-operator to
pass the address of a scalar. Jeff will have to confirm or deny this though.


On Mon, Sep 8, 2014 at 10:25 PM, Dan Luu <dan...@gmail.com> wrote:

> julia> 1 | 2
> 3
> julia> 1 & 2
> 0
> julia> 1 + 2
> 3
> julia> 1 $ 2
> 3
> julia> |(1, 2)
> 3
> julia> &(1, 2)
> ERROR: unsupported or misplaced expression &
> julia> +(1, 2)
> 3
> julia> $(1, 2)
> ERROR: unsupported or misplaced expression $
>
> Is & used in some way julia that makes &(1, 2) potentially ambiguous?
>
> Apologies if this is in the archives; I couldn't figure how to
> effectively search for '&' or 'and'.
>
>
> Dan
>

Reply via email to