Hi,

Am 07.07.2010 um 17:10 schrieb Nurullah Akkaya:

> (doseq [[y w] (for [y (range 1999 2011)
>                             w (range 1 53)] [y w])]
>  (println "Year " y "Week " w))

And just for the record:

If you don't need the intermediate seq you can use doseq directly:

(doseq [y (range 1999 2011)
        w (range 1 53)]
  (println "Year" y "Week" w))

Sincerely
Meikel

-- 
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