JuliaLang/julia
View on GitHub`:(($+)(1,2))` prints as `:((+)(1,2))` which is `:(1 + 2)`
Open
#19,260 opened on Nov 8, 2016
display and printinghelp wanted
Repository metrics
- Stars
- (48,709 stars)
- PR merge metrics
- (Avg merge 20d 6h) (157 merged PRs in 30d)
Description
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 $.