@@ -12487,10 +12487,7 @@ reduces them without incurring seq initialization"
12487
12487
(-invoke [coll k]
12488
12488
(-lookup coll k))
12489
12489
(-invoke [coll k not-found]
12490
- (-lookup coll k not-found))
12491
-
12492
- IPrintWithWriter
12493
- (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer " [" " " " ]" opts coll)))
12490
+ (-lookup coll k not-found)))
12494
12491
12495
12492
(set! (. Vector -EMPTY) (Vector. nil (array )))
12496
12493
@@ -12586,29 +12583,12 @@ reduces them without incurring seq initialization"
12586
12583
(-invoke [coll k]
12587
12584
(-lookup coll k))
12588
12585
(-invoke [coll k not-found]
12589
- (-lookup coll k not-found))
12590
-
12591
- IPrintWithWriter
12592
- (-pr-writer [coll writer opts]
12593
- (print-map coll pr-writer writer opts)))
12586
+ (-lookup coll k not-found)))
12594
12587
12595
12588
(set! (. ObjMap -EMPTY) (ObjMap. nil (array ) (js-obj )))
12596
12589
12597
12590
(set! (. ObjMap -fromObject) (fn [ks obj] (ObjMap. nil ks obj)))
12598
12591
12599
- (defn obj-map
12600
- " keyval => key val
12601
- Returns a new object map with supplied mappings."
12602
- [& keyvals]
12603
- (let [ks (array )
12604
- obj (js-obj )]
12605
- (loop [kvs (seq keyvals)]
12606
- (if kvs
12607
- (do (.push ks (first kvs))
12608
- (gobject/set obj (first kvs) (second kvs))
12609
- (recur (nnext kvs)))
12610
- (.fromObject ObjMap ks obj)))))
12611
-
12612
12592
; The keys field is an array of all keys of this map, in no particular
12613
12593
; order. Each key is hashed and the result used as a property name of
12614
12594
; hashobj. Each values in hashobj is actually a bucket in order to handle hash
@@ -12701,11 +12681,7 @@ reduces them without incurring seq initialization"
12701
12681
(-invoke [coll k]
12702
12682
(-lookup coll k))
12703
12683
(-invoke [coll k not-found]
12704
- (-lookup coll k not-found))
12705
-
12706
- IPrintWithWriter
12707
- (-pr-writer [coll writer opts]
12708
- (print-map coll pr-writer writer opts)))
12684
+ (-lookup coll k not-found)))
12709
12685
12710
12686
(set! (. HashMap -EMPTY) (HashMap. nil 0 (js-obj )))
12711
12687
@@ -12763,9 +12739,6 @@ reduces them without incurring seq initialization"
12763
12739
(-invoke [coll k]
12764
12740
(-lookup coll k))
12765
12741
(-invoke [coll k not-found]
12766
- (-lookup coll k not-found))
12767
-
12768
- IPrintWithWriter
12769
- (-pr-writer [coll writer opts] (pr-sequential-writer writer pr-writer " #{" " " " }" opts coll)))
12742
+ (-lookup coll k not-found)))
12770
12743
12771
12744
(set! (. Set -EMPTY) (Set. nil (hash-map )))
0 commit comments