Fixed CLJS queue usage

This commit is contained in:
Stephen Rudolph 2016-02-12 20:27:32 -06:00
parent a12222eac5
commit 1b26aaff1b
2 changed files with 2 additions and 2 deletions

View file

@ -507,7 +507,7 @@
#+cljs #+cljs
(defn queue? [coll] (defn queue? [coll]
(= (type coll) (type cljs.core.PersistentQueue/EMPTY))) (= (type coll) (type #queue [])))
#+clj #+clj
(defn queue? [coll] (defn queue? [coll]

View file

@ -745,7 +745,7 @@
(defn make-queue [coll] (defn make-queue [coll]
(reduce (reduce
#(conj %1 %2) #(conj %1 %2)
cljs.core.PersistentQueue/EMPTY #queue []
coll)) coll))
#+clj #+clj