On Sunday, March 18, 2018 at 1:18:19 AM UTC-7, Hector Lucero wrote:
>
> 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
On Sunday, March 18, 2018 at 1:18:19 AM UTC-7, Hector Lucero wrote:
>
> 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
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