TIL you can use aliases in keywords in quoted forms:
(require '[clojure.string :as s]) '{a ::s/foo}
There was a bug in clj-kondo with this, where namespace s was considered unused.
Luckily babashka does it right ๐
$ bb -e "(require '[clojure.string :as s]) '{a ::s/foo}"
{a :clojure.string/foo}
2๐Yep, good points. My first crack at supporting namespaced maps uses the illegal Clojure symbol ::
. My next version wonโt do that. :simple_smile:
Interesting. I guess thatโs because it is a reader operation to handle auto-resolves?
yes
he he ๐