On Oct 8, 4:35 am, CuppoJava <[EMAIL PROTECTED]> wrote:
> I'm very new to clojure, and I'm just wondering what's the most
> efficient way of creating a vector of zeroes.

I'm not sure about efficiency, but I'd write it like:

(vec (take cols (constantly 0)))

- James
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to