Which macros have bindings?

I know let loop when-let doseq has bindings:

(when-let bindings & body)

Is there a full list of macros that has bindings?

I don’t know if any maintained list but I think it should be fairly easy to do by going through clojure/core.clj and grepping for bindings:

curl https://raw.githubusercontent.com/clojure/clojure/master/src/clj/clojure/core.clj | grep bindings
1 Like

Cursive probably has one (to which you can make your own additions in “Symbol Resolution”), although it’s not exposed AFAICT.

Thanks. I tried as mentioned in previous answer and it might be enough for my case https://github.com/Cirru/sepal.clj/blob/22c56c938e8052bdf9de899c0aa92e37db242f6c/polyfill/cirru_sepal/core.cljs#L160-L171

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.