On Wed, Jul 7, 2010 at 5:00 PM, Lars Nilsson <chamael...@gmail.com> wrote:
>
> Maybe
>
> (doseq [year (range 1999 2010 1)]
>  (doseq [month (range 1 53 1)]
>    (print-data year range)))
>

You could also do this with dotimes instead of doseq. Doesn't matter
for Ns this small, but creating a range just so you have something to
iterate across is a bit wasteful.


Isak



> Regards,
> Lars Nilsson
>
> --
> 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 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