Reader should resolve unqualified symbols inside syntax quoting
ingydotnet opened this issue · 1 comments
ingydotnet commented
Clojure:
user=> `(foo bar)
(user/foo user/bar)
Lingy (currently):
user=> `(foo bar)
(foo bar)
ingydotnet commented
See: https://8thlight.com/insights/quoting-without-confusion
When you write a symbol inside a syntax-quoted form, the reader will actually resolve the symbol rather than just taking it at face value. The result is that namespace-qualified symbols are the norm in a syntax-quoted form:
...
This has important implications for macro writing that are outside the scope of this article, so this namespace qualification is worth remembering.