A macro inserts the result back into the AST. and it is called at compile-time, not run-time.
On Saturday, June 21, 2014, Andrew McKinlay <[email protected]> wrote: > What's the difference between writing macros versus functions that take > `Expr` objects? Is there anything you can't do with a function that takes > expression objects? Are there any advantages of using macros beyond no > having to quote the code you pass as an argument? >
