Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Specter – Clojure API for immutable programming (2017).
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.
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...