JuliaLang/julia

`:(($+)(1,2))` prints as `:((+)(1,2))` which is `:(1 + 2)`

Open

#19,260 opened on 2016年11月8日

GitHub で見る
 (8 comments) (0 reactions) (0 assignees)Julia (5,773 forks)batch import
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 $.

コントリビューターガイド