(defmacro again [n & body]
  `(dotimes [~'_ ~n] ~...@body))

(again 3 (println "Ho"))

On Sat, Feb 21, 2009 at 5:51 PM, samppi <rbysam...@gmail.com> wrote:

>
> For now, I do:
> (dotimes [_ 3] (print "Ho"))
>
> But I also think it would be a nice, natural addition.
>
> On Feb 21, 3:07 pm, Timothy Pratley <timothyprat...@gmail.com> wrote:
> > +1
> >
>

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