(defn read-queue
[form]
(when-not (vector? form)
(throw
#?(:clj (RuntimeException.
"Queue literal expects a vector for its elements.")
:cljs (js/Error.
"Queue literal expects a vector for its elements."))))
(list 'cljs.core/into 'cljs.core.PersistentQueue.EMPTY form))