Hi Moe,
Thanks, i didn't know about :when and :let in for. That is my favorite so
far, small and readable, looks good.
Sven
Am Dienstag, 25. August 2015 11:17:23 UTC+2 schrieb Moe Aboulkheir:
>
> Sven,
>
> To me, the keep version would be a lot more readable if it were creating a
> literal map
Sven,
To me, the keep version would be a lot more readable if it were creating a
literal map in a fn.
I think (for) is almost always the right thing. It's not as fun to write,
but much easier to read:
(for [i (range 1 11)
:let [id (keyword (str "answer_correct_" i))]
:when (params i