specter

2023-07-02T09:00:58.459039Z

Hello! I'd like to do a traverse but with add value at the end:

(sp/traverse [(sp/multi-path (sp/view coll)
                             [(sp/view protos) sp/ALL]
                             [(sp/view (constantly (OEND.)))])
              (sp/pred #(or (= (type %) OEND) (ocontains? % k)))] this)
something of this sort 👆🏻 What would be the recommended way of achieving that: the provided code or select -> setval -> traverse?