map actually accepts any number of collections, as show in the official documentation<http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/map>. Your function passed to map just needs to accept parameters equal to the number of collections passed. So you could write something like the following:
Clojure 1.2.0 user=> (dorun (map #(println %1 %2) [1 2 3 4] [2 3 4 5])) 1 2 2 3 3 4 4 5 nil The advantage to the above code is you don't need to create a vector of subvectors. -- 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