You’re missing a paren before my-rows.
Not knowing that you do, but writing Clojure without paredit/park fee is a lot
harder than without :)
Erik.
--
i farta
> 18. mar. 2018 kl. 07:25 skrev Hector Lucero :
>
> Why does this work:
> (map #(assoc % :sites (SITES-NAMES "theuser")) my-rows)
>
Why does this work:
(map #(assoc % :sites (SITES-NAMES "theuser")) my-rows)
But this does not work:
(map #(assoc % :sites (SITES-NAMES (:f_username %)) my-rows)
The second one gives me an arity error. Given "theuser" and (:f_username %)
are the same string as argument.
--
You received this