On July 8, 2013 at 5:39:14 AM, Vesna Petkovic (vesna.petko...@gmail.com) wrote:
(defn func [& tags](#(zf/xml1-> (xml-zipper tags) % zf/text)))
As the exception states, you are passing 0 arguments to a function that doesn't 
accept 0 arguments. The name of the function "datamodel$func$fn" narrows it 
down to an anonymous function defined in the "func" function. Why does that 
function not allow 0 arguments? It's because it requires one argument, per the 
% inside it. Then it is invoked with no arguments. Do you mean to return the 
anonymous function instead of invoking it?

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