specter

Latest version: 1.1.3
jose 2018-08-28T20:10:03.000100Z

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})

jose 2018-08-28T22:28:32.000100Z

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