> (repeatedly 100 #(rand-int 10))

Hm... on 1.1.:

 user=> (repeatedly 100 #(rand-int 10))
 java.lang.IllegalArgumentException: Wrong number of args passed to:
core$repeatedly (NO_SOURCE_FILE:0)
 user=>

but, could be solved with:

 user=> (take 100 (repeatedly #(rand-int 10)))

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