Fix error in pair-channel->lazy-seq.

Signed-off-by: Richard Newman <rnewman@twinql.com>
This commit is contained in:
Richard Newman 2016-07-15 12:37:01 -07:00
parent e76895ac00
commit 2a31a0c4d4

View file

@ -32,7 +32,7 @@
(when-let [v (clojure.core.async/<!! channel)]
(if (second v)
(cons v nil)
(cons v (channel->lazy-seq channel)))))))
(cons v (pair-channel->lazy-seq channel)))))))
#?(:clj
(defn run-to-pair-seq