Fork me on GitHub
#clj-kondo
<
2022-11-22
>
Benjamin12:11:21

(defn foo* [{:keys [foo bar]}])
  (defn foo [{:keys [foo bar] :as opts}]
    (comment foo bar)
    (foo* opts))
am I the only one doing this so I get the eldoc for foo mentioning foo and bar The purpose of comment is to silence the kondo warning

Benjamin12:11:07

Ah interesting. I prefer the comment I think because that warning sometimes helps me

borkdude12:11:28

you can also do:

(defn foo {:arglists '([{:keys [foo bar]}])} [m])

Benjamin12:11:37

ohhh nice. This is what I was looking for