Is it possible to define a macro in one line (one-liner macros)?

var"@my"(mod, source, x) = :(println($(esc(x))))
4 Likes