@@ -2355,7 +2355,7 @@ reduces them without incurring seq initialization"
2355
2355
" Returns true if n is a JavaScript number with no decimal part."
2356
2356
[n]
2357
2357
(and (number? n)
2358
- (not ^boolean (js/isNaN n))
2358
+ (not (js/isNaN n))
2359
2359
(not (identical? n js/Infinity))
2360
2360
(== (js/parseFloat n) (js/parseInt n 10 ))))
2361
2361
@@ -2462,12 +2462,12 @@ reduces them without incurring seq initialization"
2462
2462
(contains? coll k))
2463
2463
(MapEntry. k (get coll k) nil ))))
2464
2464
2465
- (defn ^boolean distinct?
2465
+ (defn distinct?
2466
2466
" Returns true if no two of the arguments are ="
2467
2467
([x] true )
2468
2468
([x y] (not (= x y)))
2469
2469
([x y & more]
2470
- (if (not (= x y))
2470
+ (if (not (= x y))
2471
2471
(loop [s #{x y} xs more]
2472
2472
(let [x (first xs)
2473
2473
etc (next xs)]
@@ -8351,6 +8351,7 @@ reduces them without incurring seq initialization"
8351
8351
(if (identical? node root)
8352
8352
nil
8353
8353
(set! root node))
8354
+ ; ; FIXME: can we figure out something better here?
8354
8355
(if ^boolean (.-val added-leaf?)
8355
8356
(set! count (inc count)))
8356
8357
tcoll))
@@ -8372,6 +8373,7 @@ reduces them without incurring seq initialization"
8372
8373
(if (identical? node root)
8373
8374
nil
8374
8375
(set! root node))
8376
+ ; ; FIXME: can we figure out something better here?
8375
8377
(if ^boolean (.-val removed-leaf?)
8376
8378
(set! count (dec count)))
8377
8379
tcoll)))
@@ -10562,6 +10564,7 @@ reduces them without incurring seq initialization"
10562
10564
(pr-writer (meta obj) writer opts)
10563
10565
(-write writer " " ))
10564
10566
(cond
10567
+ ; ; FIXME: can we figure out something better here?
10565
10568
; ; handle CLJS ctors
10566
10569
^boolean (.-cljs$lang$type obj)
10567
10570
(.cljs$lang$ctorPrWriter obj obj writer opts)
@@ -10576,7 +10579,7 @@ reduces them without incurring seq initialization"
10576
10579
(number? obj)
10577
10580
(-write writer
10578
10581
(cond
10579
- ^boolean (js/isNaN obj) " ##NaN"
10582
+ (js/isNaN obj) " ##NaN"
10580
10583
(identical? obj js/Number.POSITIVE_INFINITY) " ##Inf"
10581
10584
(identical? obj js/Number.NEGATIVE_INFINITY) " ##-Inf"
10582
10585
:else (str_ obj)))
0 commit comments