@@ -134,7 +134,11 @@ namespace purescript {
134134
135135} // namespace purescript
136136
137−#define FOREIGN_EXPORTS(NS) namespace NS { using namespace purescript; auto _foreign_() -> dict_t&; static const auto& NS ## _foreign_init = []() { dict_t& foreign = _foreign_();
138−#define END_FOREIGN_EXPORTS return foreign; }(); }
137+#define FOREIGN_BEGIN(NS) namespace NS {\
138+ using namespace purescript;\
139+ auto _foreign_() -> dict_t&;\
140+ static const auto& NS ## _foreign_init = []() {\
141+ dict_t& exports = _foreign_();
142+#define FOREIGN_END return exports; }(); }
139143
140144#endif // purescript_H