JuliaLang/julia

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

Open

#19,260 opened on Nov 8, 2016

View on GitHub
 (8 comments) (0 reactions) (0 assignees)Julia (48,709 stars) (5,773 forks)batch import
display and printinghelp wanted

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 $.

Contributor guide