Seems to be due to eg clojure.repl/special-doc not existing at the cljs repl. Deferring var resolution via ((resolve 'clojure.repl/special-doc) sym) instead of (#'clojure.repl/special-doc sym) seems to fix it for the common case, but of course would still explode if it was actually a special-symbol, for example...
Example error when using K:

Seems to be due to eg
clojure.repl/special-docnot existing at the cljs repl. Deferring var resolution via((resolve 'clojure.repl/special-doc) sym)instead of(#'clojure.repl/special-doc sym)seems to fix it for the common case, but of course would still explode if it was actually a special-symbol, for example...Example error when using

K: