You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.
Since macro expanders are kept in a single global ref, macros with the same name in different clojurejs scripts will overwrite one another, which is bad. Since, macro definitions need to be persistent across multiple HTTP requests, using a thread local binding isn't a sufficient solution.
One idea is to implement a minimal ns form in clojurejs, which could establish the namespace for a given clojurejs script, and keep the macro definitions independent.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Since macro expanders are kept in a single global ref, macros with the same name in different clojurejs scripts will overwrite one another, which is bad. Since, macro definitions need to be persistent across multiple HTTP requests, using a thread local binding isn't a sufficient solution.
One idea is to implement a minimal
ns
form in clojurejs, which could establish the namespace for a given clojurejs script, and keep the macro definitions independent.The text was updated successfully, but these errors were encountered: