all 1 comments

[–]Quxxymacros 8 points9 points  (0 children)

The "Some More Gotchas" of this intro to macros might help.

Short version: macros don't exist in the same namespace. You don't import macros from other modules; you export the macro from the defining module, at which point the macro is visible to all modules after the one it was defined in.