New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Macro expansion bug? #378
Comments
What is supposed to be the bug here? Notice that |
I guess what I was looking for is recursive macro expansion... anyway, why does it expand ! to !! ? |
|
No way we can support optional recursive expansion? Doesn't make much sense? |
Maybe with another function that does it explicitly, like expand_all. But I |
I expected |
In
It says |
|
For anyone that needs to recursively expand, I use this all over the place in my macro libraries (it is surprising just how often I need it actually...): expanded_ast = Macro.prewalk(ast, &Macro.expand(&1, env)) But yeah, as seen it is easy enough to write it that it is not really needed to add it to the |
The text was updated successfully, but these errors were encountered: