Recursively converting Clojure lazy sequences into lists
For Midje, I need to take a data structure and produce a new data structure that’s = to the old one, but with all lazy sequences converted into lists. It was hard to get it right. I’m posting my solution here in the hopes that someone’s search engine saves them some work.
January 16th, 2011 at 8:06 pm
[…] Exploration Through Example » Blog Archive » Recursively converting Clojure lazy sequences into li… exampler.com/blog/2011/01/16/recursively-converting-clojure-lazy-sequences-into-lists/ – view page – cached For Midje, I need to take a data structure and produce a new data structure that’s = to the old one, but with all lazy sequences converted into lists. […]