logo
Loading...

syntax: invalid syntax &(Core.tuple(1, 2))錯誤 - Cupoy

爬文後的結果:julia> &(1, 2)ERROR: syntax: invalid syntax...

syntax: invalid syntax &(Core.tuple(1, 2))錯誤

2020/04/18 00:36 下午
Julia程式語言討論版
Eric Z. Li
觀看數:2
回答數:1
收藏數:1

爬文後的結果:


julia> &(1, 2)

ERROR: syntax: invalid syntax &(Core.tuple(1, 2))

Stacktrace:

 [1] top-level scope at none:0


julia> (&)(1, 2)

0


julia> (&)(1, 2, 4)

0


julia> |(1, 2, 4)

7


Bitwise and does not parse as function call - Usage / First steps - JuliaLang

https://discourse.julialang.org/t/bitwise-and-does-not-parse-as-function-call/1274


Cannot define & · Issue #11521 · JuliaLang/julia · GitHub

https://github.com/JuliaLang/julia/issues/11521