This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-09-20
Channels
- # babashka (36)
- # beginners (26)
- # calva (1)
- # clj-kondo (10)
- # clojure (94)
- # clojure-europe (7)
- # clojure-uk (16)
- # clojurescript (5)
- # conjure (6)
- # data-science (8)
- # datomic (24)
- # events (1)
- # fulcro (11)
- # funcool (1)
- # graalvm (6)
- # malli (18)
- # nrepl (5)
- # off-topic (13)
- # parinfer (3)
- # reagent (3)
- # reitit (6)
- # shadow-cljs (14)
@borkdude so i tried working on a hook for libpython-clj: https://gist.github.com/sogaiu/b6aa01efbd4006bbcab8decf2d5889aa in this case the construct is similar to a defn. is there something i can do to make the defined name show up in the analysis so i can use that toward indexing?
if you expand to a defn that uses that name, I think it should also show up in the analysis? if it doesn't, it might be a bug or there's some reason I don't know off the top of my head
@borkdude using with-meta
made a difference in whether row, col info had something numeric. thanks!
there was another piece to the puzzle. it turns out libpython-clj uses a construct similar to import-vars from potemkin (though it's not exactly the same), so i think if i write a hook for that, the indexing may work.