Skip to content

Commit e7dd8f0

Browse files
mfikesswannodette
authored andcommitted
CLJS-2664: Clarify that cljs.core/eval is really intended for bootstrapped ClojureScript
1 parent c3c352b commit e7dd8f0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/cljs/cljs/core.cljs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11521,6 +11521,7 @@ reduces them without incurring seq initialization"
1152111521

1152211522
(defn eval
1152311523
"Evaluates the form data structure (not text!) and returns the result.
11524-
Delegates to cljs.core/*eval*."
11524+
Delegates to cljs.core/*eval*. Intended for use in self-hosted ClojureScript,
11525+
which sets up an implementation of cljs.core/*eval* for that environment."
1152511526
[form]
1152611527
(*eval* form))

0 commit comments

Comments
 (0)