I have a sequence of arbitrary paths that I need to apply using specter/transform to a data structure in succession. Right now, I’m just using reduce and that code looks something like this:
(reduce
(fn [row path]
(specter/transform path transform-fn row))
row
paths)
Does specter provide anything as an alternative to reduce in this case?@stephenmhopper check out multi-path
That’s what I needed. Thank you!