Let’s say I wanted to write a macro called defwombat that could be used just like defmodule but that compiled marsupials. And let’s pretend you thought it was a great idea.
What I’d like to be able to do is to write:
dave.ex:
defwombat Eric do
# ... marsupial stuff
end
That is, I’d like to have defwombat available when compiling, just as if I’d written
use Wombat
defwombat Eric do
# ... marsupial stuff
end
Is there any way currently of configuring this into mix? If not, and if I were to do the work, would it be considered?
Dave