Hi all,

I've noticed that I wrote the following recently and wonder if this can be
done in a more succinct/idiomatic way and also if it can be parallelised:

--- snip ---
(reduce-kv
 (fn [ret k v]
  (assoc ret k (func-that-does-something-with v)))
 some-map))
--- snip --

I am using reducers in other places, but am not entirely sure how to employ
them here. I would be grateful for any advice.
-- 
Wolodja <babi...@gmail.com>

4096R/CAF14EFC
081C B7CD FF04 2BA9 94EA  36B2 8B7F 7D30 CAF1 4EFC

Attachment: signature.asc
Description: Digital signature

Reply via email to