On 3 Nov 2013, at 21:39, Angus <anguscom...@gmail.com> wrote:

> (count % '(1 2 3))
> 
> I am getting error: clojure.lang.ArityException: Wrong number of args (2) 
> passed to: core$count

http://clojuredocs.org/clojure_core/clojure.core/count

Count only takes one argument, a collection, and returns the number of items in 
the collection. You’re giving it two arguments % and ‘(1 2 3).

Alan

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to