I have this:
(defn my-page []
(layout/render
"page1.html" ({:articles (map
#(update % :field1 (fn [d] (something.... )))
(db/get-all-articles))})))
; how can I call map again to process other fields?
; (map for :field2 .... ???? how?)
; (map for :field3 .... ???? how?)
I want to preprocess other fields also. How can I properly do that? I mean, since I already have the variable :article and function map, how would I do map again for other fields such as :field2 and field3?