We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d4e286 commit 34203d6Copy full SHA for 34203d6
1 file changed
src/main/cljs/cljs/core.cljs
@@ -10477,8 +10477,8 @@ reduces them without incurring seq initialization"
10477
(if (zero? (:print-length opts))
10478
(when (-seq coll)
10479
(-write writer (or (:more-marker opts) "...")))
10480
- (let [coll (-seq coll)]
10481
- (when coll
+ (do
+ (when-let [coll (-seq coll)]
10482
(print-one (-first coll) writer opts))
10483
(loop [coll (-next coll) n (dec (:print-length opts))]
10484
(if (and coll (or (nil? n) (not (zero? n))))
0 commit comments