specter 2024-10-31

Is there some way to "mark" where in a path to apply a transform?

Specifically I'm looking at a hashmap of hashmaps, and want to delete keys from the first level based by matching values in the second level.

{:1 {:delete-me false}
 :2 {:delete-me true}}

that's just (setval [ALL (selected? LAST :delete-me identity)] NONE data)

💡 2
1
1
🤔 1

Took me a few minutes, but that finally made sense.