This should work. What does headers look like? Sometimes the #(...) reader form can cause problems. Does using the (fn ...) form help? ~BG
On Sun, Jun 30, 2013 at 5:39 AM, Dave Kincaid <[email protected]> wrote: > Could someone help me decipher the ArityException I'm getting. It's not > making sense to me. First here is the exception: > > ArityException Wrong number of args (1) passed to: lastN$reformat-headers$fn > clojure.lang.AFn.throwArity (AFn.java:437) > > and here is the function reformat-headers: > > (defn reformat-headers > [headers] > (map #(.toString %) headers)) > > as far as I can tell the exception is saying that 1 argument is the wrong > number of arguments for reformat-headers, but as you can clearly see it is a > function of one argument. What am I interpreting wrong? > > Thanks, > > Dave > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with your > first post. > 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 > --- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Baishampayan Ghose b.ghose at gmail.com -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. 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 --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
