Skip to content

Commit 63e0d73

Browse files
anmonteiroswannodette
authored andcommitted
CLJS-1742: Add docstring for new refer-clojure REPL special
1 parent 756fa9b commit 63e0d73

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/main/clojure/cljs/repl.cljc

+10
Original file line numberDiff line numberDiff line change
@@ -1224,6 +1224,16 @@ itself (not its value) is returned. The reader macro #'x expands to (var x)."}})
12241224
use-macros {:arglists ([& args])
12251225
:doc "Similar to the use REPL special function but
12261226
only for macros."}
1227+
refer-clojure {:arglists ([& args])
1228+
:doc "Refers to all the public vars of `cljs.core`, subject to
1229+
filters.
1230+
Filters can include at most one each of:
1231+
1232+
:exclude list-of-symbols
1233+
:rename map-of-fromsymbol-tosymbol
1234+
1235+
Filters can be used to select a subset, via exclusion, or to provide a mapping
1236+
to a symbol different from the var's name, in order to prevent clashes."}
12271237
import {:arglists ([& import-symbols-or-lists])
12281238
:doc "import-list => (closure-namespace constructor-name-symbols*)
12291239

0 commit comments

Comments
 (0)