JuliaLang/julia
GitHub で見る`:(($+)(1,2))` prints as `:((+)(1,2))` which is `:(1 + 2)`
Open
#19,260 opened on 2016年11月8日
display and printinghelp wanted
Repository metrics
- Stars
- (48,709 stars)
- PR merge metrics
- (平均マージ 20d 6h) (30d で 157 merged PRs)
説明
julia> :(($+)(1,2))
:((+)(1,2))
julia> :((+)(1,2))
:(1 + 2)
The printing for expressions should take into account whether something is an actual function spliced into the AST or just a symbol and print the former with a $.