I'd use my clj-iterate library at http://github.com/jpalmucci/clj-iterate.

user> (iter {for x in [1 2 3]}
            {for y in [11 22 33]}
            (println x y))
1 11
2 22
3 33
nil

Won't collect the sequence if you don't ask for it, and its eager (and
fast).

It's also available at clojars. From leiningen:

[clj-iterate "0.91"]

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to