This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-17
Channels
- # aleph (4)
- # announcements (2)
- # babashka (85)
- # beginners (136)
- # calva (72)
- # clj-commons (32)
- # clj-kondo (7)
- # cljs-dev (3)
- # clojure (117)
- # clojure-europe (38)
- # clojure-nl (3)
- # clojure-norway (1)
- # clojure-uk (4)
- # clojurescript (19)
- # conjure (38)
- # core-logic (2)
- # cursive (10)
- # datalevin (1)
- # datalog (1)
- # datomic (6)
- # events (2)
- # fulcro (16)
- # google-cloud (5)
- # graphql (10)
- # gratitude (3)
- # hugsql (3)
- # luminus (5)
- # membrane-term (12)
- # missionary (2)
- # nextjournal (5)
- # off-topic (3)
- # pedestal (2)
- # polylith (7)
- # portal (3)
- # re-frame (6)
- # reagent (26)
- # reclojure (8)
- # releases (3)
- # reveal (5)
- # shadow-cljs (14)
- # spacemacs (20)
- # sql (3)
- # tools-build (3)
- # web-security (9)
Is there any way for passing something from the CLI to hooks? Since System/getProperty
is not supported by SCI
Not strictly necessary but it would make my hook more accurate. Essentially, there is a macro selecting code based on a property, akin to the reader conditionals if you will. It would be nice being able to indicate the hook which code should be selected and processed, discarding the rest.
but isn't the property depending on the runtime, which is not available in general in static analysis?
Yes, so analysis should be run twice in this case (2 possibilities for selecting code), but it would be best maintaining one config
Hey, can I access the var meta in custom hook for defn? Like (defn ^Return foobar [] ...)
. Taking the fn name node and looking at meta
only returns the position info, not :tag
.