macro | since v1.9.198 | clojure.core/refer-clojure | Edit |
(refer-clojure & args)
Refers to all the public vars of `cljs.core`, subject to filters. Filters can include at most one each of: :exclude list-of-symbols :rename map-of-fromsymbol-tosymbol Filters can be used to select a subset, via exclusion, or to provide a mapping to a symbol different from the var's name, in order to prevent clashes.
(core/defmacro refer-clojure
[& args]
`(~'ns* ~(cons :refer-clojure args)))