JuliaLang/julia

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

Open

#19 260 ouverte le 8 nov. 2016

Voir sur GitHub
 (8 commentaires) (0 réactions) (0 assignés)Julia (5 773 forks)batch import
display and printinghelp wanted

Métriques du dépôt

Stars
 (48 709 stars)
Métriques de merge PR
 (Merge moyen 20j 6h) (157 PRs mergées en 30 j)

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

Guide contributeur