las3r
las3r copied to clipboard
Fully lazy interleave.
At the moment expressions like (take 4 (interleave (repeat 1) (repeat 2))) loop infinitely. This patch should fix that.
See also: https://github.com/clojure/clojure/commit/5cddaf84b648657237bc1b5d81d65a5072e9c3be
...and as usual, I notice my bugs right after sending the pull request. Sorry, don't merge this yet.