Fixed CLJS queue usage
This commit is contained in:
parent
a12222eac5
commit
1b26aaff1b
2 changed files with 2 additions and 2 deletions
|
|
@ -507,7 +507,7 @@
|
|||
|
||||
#+cljs
|
||||
(defn queue? [coll]
|
||||
(= (type coll) (type cljs.core.PersistentQueue/EMPTY)))
|
||||
(= (type coll) (type #queue [])))
|
||||
|
||||
#+clj
|
||||
(defn queue? [coll]
|
||||
|
|
|
|||
|
|
@ -745,7 +745,7 @@
|
|||
(defn make-queue [coll]
|
||||
(reduce
|
||||
#(conj %1 %2)
|
||||
cljs.core.PersistentQueue/EMPTY
|
||||
#queue []
|
||||
coll))
|
||||
|
||||
#+clj
|
||||
|
|
|
|||
Loading…
Reference in a new issue