On Tue, Oct 09, 2012 at 15:31 -0700, Jean Niklas L'orange wrote:
>On Tuesday, October 9, 2012 9:14:51 PM UTC+2, Wolodja Wentland wrote:
>
> --- snip ---
> (reduce-kv
> (fn [ret k v]
> (assoc ret k (func-that-does-something-with v)))
> some-map))
> --- snip --
On Tuesday, October 9, 2012 9:14:51 PM UTC+2, Wolodja Wentland wrote:
>
> --- 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 her
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 ot