4 ms·
All of Clojure's literals desugar to calls. They're reader macros you can't add to.
by lucian1900 14y ago
All of Clojure's literals desugar to calls. They're reader macros you can't add to.
- wooby 14y agoMy point is that they desugar directly to data structures (instantiated in Java, in LispReader) instead of operation forms that evaluate to data structures. See vector creation: https://github.com/clojure/clojure/blob/52633274225370dfb0581c1c6fa1e14a2ec56061/src/jvm/clojure/lang/LispReader.java#L1080 https://github.com/clojure/clojure/blob/52633274225370dfb058...
- lucian1900 14y agoI don't see how that distinction is useful.