Fork me on GitHub
#specter
<
2018-08-28
>
jose20:08:03

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

jose22:08:32

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