Is it possible to use :refer :all in a ClojureScript :require?

No, it’s intentionally not possible. There was a conversation on the ClojureScript mailing list recently related to :refer :all and it looks like it will never be supported.

To quote David Nolen from that thread:

It’s just bad style and as far I know the only reason it hasn’t
changed in Clojure is because the core team is very adamant about
preserving backwards compatibility when possible. The conspicuous lack
of naked :use in ClojureScript was intentional.

Leave a Comment