org.clojure/clojurescript is no longer a runtime dependency, so JVM
consumers no longer get the ClojureScript compiler and Closure (~25 MB) on
their classpath. A ClojureScript consumer provides the compiler itself, as
shadow-cljs projects and any project declaring org.clojure/clojurescript
already do. The :cljs and :cljs-test aliases carry it for this
repository's own builds.go-loop-try,
go-loop-try-, go-loop-super and go-for put it where the binding vector
is expected, so every loop binding was reported as an unresolved symbol and
every recur as the wrong arity. Hooks rewrite those calls into the forms
the macros expand to, and the [S & body] macros are declared :lint-as do.
A consumer picks this up with clj-kondo --copy-configs, which lets a
project with these macros run lint as a build gate.Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |