
Macros and Busting Boilerplate with Robert Ellen - EMx 176
Elixir Mix
00:00
The Problem With Macro Programming
If you have a macro right there's two contexts inside macro one inside court and one outside court. Each is part of your ast so it'll work because if you if you get a top level of module that same context as inside the court. I did make a bit of a mistake inside I wanted to not only have the functions defined by this you know this list of module names or or Adam some but also other function definitions like unquote unquote splicing. That seemed to expand them in a slightly different way than what was actually happening. It didn't occur to me at all until reading a very obscure elixir forum thread that well of course if you have multiple quotes inside a def macro
Play episode from 20:14
Transcript


