I'm manipulating keyword args inside a macro. Just wanted to check whether I was missing a syntax option for building those expressions.
On Sunday, October 30, 2016 at 8:55:32 PM UTC-5, Isaiah wrote:
Not really clear what you are trying to do. These are inserted by the parser whenever keyword arguments are used in (function) call syntax. So:
julia> quote f(x= 10) end |> dump
head: Symbol block
head: Symbol line
1: Int64 1
2: Symbol REPL
head: Symbol call
1: Symbol f
head: Symbol kw
1: Symbol x
2: Int64 10
Is there a quote-friendly way to write the following keyword Expr, or must I directly manipulate raw Expr's to get this?