Fork me on GitHub
#specter
<
2018-10-27
>
fmn09:10:32

What is the efficient way to do reduction after some transformation? Currently I'm doing it like this: (reduce merge {} (traverse (view to-map-fn) xs))

nathanmarz13:10:11

@funyako.funyao156 traverse is efficient way to do reduction of a selection of subvalues

nathanmarz13:10:47

that particular snippet doesn't really do anything, it's the same as (merge {} (to-map-fn xs))