leonoel/missionary

zip doesn't terminate properly

leonoel opened this issue · 3 comments

(m/zip vector (m/seed [1 2 3]) (m/seed (repeat nil))) goes into an infinite loop when 3 gets consumed.

(m/? (m/reduce conj (interleave (m/seed [0 0 0]) (m/seed (range 99999999))))) takes 3 seconds to finish, suggesting m/zip eagerly consumes its upstream flows, but produces the correct answer.

I believe I captured the essence here

595ca7b

Fixed in b.39