Hi, How about this?
> (map-indexed (fn [i x] (vector x)) (for [x (range 10)] "HELLO WORLD")) (["HELLO WORLD"] ["HELLO WORLD"] ["HELLO WORLD"] ["HELLO WORLD"] ["HELLO WORLD"] ["HELLO WORLD"] ["HELLO WORLD"] ["HELLO WORLD"] ["HELLO WORLD"] ["HELLO WORLD"]) Quinta-feira, 18 de Abril de 2013 11:14:19 UTC+1, edw...@kenworthy.info escreveu: > > So, I want a 2 dimensional array. > > I think the best way to implement this is a vector of vectors. > > Now I want to display that array drawing each element relative to its > position in the array. > > Is the best way to use doseq and manually maintain the indices? Or is it > to use nested for-loops manually iterating of the vector-of-vectors? > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.