Macro hygiene and the guides


According to, macros have hygiene, but indicates that they are only hygienic for let names.

I’m guessing fixing this will come after 1.0, but should we fix the hygiene section in the guide to at least explain the limitations of the current implementation?

I’ve been bitten by this when trying to work around it by using full paths to refer to the name, but discovering that the path isn’t the same inside the module as it is when used in other modules. See for a kind of minimized example.



I’ve been waiting on reform to land before I redid these docs. PRs very welcome.


closed #3

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.