@@ -181,9 +181,9 @@ namespace purescript {
181181
182182#define FOREIGN_BEGIN(NS) namespace NS {\
183183 using namespace purescript;\
184− auto _foreign_() -> dict_t&;\
185− static const auto& NS ## _foreign_init = []() {\
186− dict_t& exports = _foreign_();
184+ auto foreign() -> dict_t&;\
185+ static const auto& NS ## $foreign_init = []() {\
186+ dict_t& exports = foreign();
187187#define FOREIGN_END return exports; }(); }
188188
189189#endif // purescript_H