This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-12-10
Channels
- # adventofcode (174)
- # announcements (5)
- # aws (9)
- # babashka (17)
- # beginners (259)
- # boot-dev (1)
- # calva (6)
- # cider (19)
- # circleci (7)
- # clj-kondo (9)
- # cljfx (51)
- # cljs-dev (4)
- # clojure (83)
- # clojure-australia (2)
- # clojure-dev (9)
- # clojure-europe (78)
- # clojure-nl (3)
- # clojure-spec (4)
- # clojure-switzerland (1)
- # clojure-uk (18)
- # clojurescript (22)
- # conjure (17)
- # cursive (17)
- # data-science (1)
- # datomic (15)
- # defnpodcast (1)
- # events (2)
- # fulcro (39)
- # graalvm (16)
- # graphql (1)
- # kaocha (5)
- # lambdaisland (11)
- # malli (6)
- # meander (1)
- # off-topic (26)
- # pathom (10)
- # re-frame (10)
- # reitit (6)
- # rewrite-clj (7)
- # sci (3)
- # shadow-cljs (28)
- # sql (12)
- # test-check (10)
- # tools-deps (31)
@lee may be you know, but one thing i do is to use read-string
so for this current case i did:
user=> (read-string "'#:user{x 1}")
(quote #:user{x 1})
Ya that’s a good way to verify reader behavior @sogaiu! Great point! I’m a bit surprised that I missed this detail after referring to CLJ-1910 so many times, but am so appreciating the benefits of the community in its continuous sharing, learning and improving!
@lee fwiw, I fixed it in clj-kondo. hopefully the "real" rewrite-cljc solution/record/fix isn't too different
in the deps.edn analyzer I had to make a special check for namespaced maps, when taking all the keys or vals from a rewrite-clj map, since children are organized differently / more nested in a namespace map.
Ya @borkdude, I already roughed something in yesterday in my branch. To support sexpr properly on map key nodes, even when navigating down to the key node itself, I am currently applying namespaced map context to the key node. This was previously only for keyword nodes but now also for symbol nodes. Still thinking on this approach.