I have cond-path with a fallback value. Currently I'm writing:
(s/cond-path
pred-1? [...]
pred-2? [...]
(constantly true) [...])
Is there a more elegant way to write this?@weavejester I would use STAY for the final handler
conditionals in Specter paths aren't predicates exactly, but based on whether that path navigates anywhere
Ahhhhh, I see! That makes a lot of sense.
I still don't have a good intuition about writing specter, but I think I'm slowly getting there.