News for hackers. Stuff that matters.
Re:Specter – Clojure API for immutable programming (2017) by dimovich on Friday September 04, 2020 @05:02PM (#24378861)
Specter is really handy for manipulating data structures, and have been happily using it.

I wonder, is it possible to select some subset of a map? Say you have these paths:

(def paths [[:some :path] [:another :deeper :path] [:yet :another :one] [:yet :another :one :deeper]])

And select from a map these paths. You could do it with get-in, but maybe Specter can do it faster? I couldn't find a way to do it with Specter...

There are no comments on this comment yet.