yongqli <yong...@gmail.com> writes: > Ah, thanks. No, I was wondering whether it was possible to iterate > over something created in a :let > > This works: > > (for [x (range 10) > :let [ys (range 10)] > y ys] > [x y])
Yes, that's possible. It's just that :let cannot be the first thing in a for. See http://dev.clojure.org/jira/browse/CLJ-207. Bye, Tassilo -- 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