I'm trying to write a recursive navigator and I don't understand why this it's not working:
(s/transform (s/recursive-path [] p (s/cond-path
string? s/STAY
map-entry? [s/ALL p]
map? [s/ALL p]))
keyword
{"A" {"B" "C"} "X" 1})
by not working, I mean that nothing is transformed, but if instead of transform
I use select
I get
["A" "B" "C" "X"]
as I was expecting