Skip to content

Commit 958580b

Browse files
committed
update cljs.core/apply docstring, it is now lazy
add :verbose true to script/test
1 parent 592d28a commit 958580b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

script/test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ possible=4
99
ran=0
1010

1111
#bin/cljsc test >out/core-test.js
12-
bin/cljsc test "{:optimizations :advanced :output-wrapper true :compiler-stats true}" > builds/out-adv/core-advanced-test.js
12+
bin/cljsc test "{:optimizations :advanced :output-wrapper true :verbose true :compiler-stats true}" > builds/out-adv/core-advanced-test.js
1313

1414
if [ "$V8_HOME" = "" ]; then
1515
echo "V8_HOME not set, skipping V8 tests"

src/cljs/cljs/core.cljs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2988,8 +2988,7 @@ reduces them without incurring seq initialization"
29882988

29892989
(set! *unchecked-if* true)
29902990
(defn apply
2991-
"Applies fn f to the argument list formed by prepending intervening arguments to args.
2992-
First cut. Not lazy. Needs to use emitted toApply."
2991+
"Applies fn f to the argument list formed by prepending intervening arguments to args."
29932992
([f args]
29942993
(let [fixed-arity (.-cljs$lang$maxFixedArity f)]
29952994
(if (.-cljs$lang$applyTo f)

0 commit comments

Comments
 (0)