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.

One Response to “Recursively converting Clojure lazy sequences into lists”

  1. Twitter Trackbacks for Exploration Through Example » Blog Archive » Recursively converting Clojure lazy sequences into lists [exampler.com] on Topsy.com Says:

    […] 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. […]

Leave a Reply

You must be logged in to post a comment.