On 20 March 2010 17:17, David Nolen <dnolen.li...@gmail.com> wrote: > You can do what you want with the following: > > (doseq [[x y] (for [y (range 4) x (range 4)] [x y])] > (println x y))
Or just (doseq [y (range 4) x (range 4)] (println x y)) doseq really has exactly the same syntax as for (including support for multiple variable name / input sequence pairs and :let, :when, :while) and employs the same "looping order". :-) Michał -- 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 To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.