Say I want
@fn a :b :c sort=true
to expand to
gn(a, :b, :c, sort=true)
and currently, I am writing it as
macro fn(x, args..., kwargs...)
esc(:(gn($x, $(args...), $(kwargs...))))
end
which doesn't seem to work.
How do I expand the kwargs... is a macro as is?