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

(again 3 (println "Ho"))

On Sat, Feb 21, 2009 at 5:51 PM, samppi <[email protected]> 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 <[email protected]> wrote:
> > +1
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to