Is it possible to extend the transform
functionality to types other than the Clojure collections? I'm seeking to transform a data structure that's in terms of some arbitrary Java classes.
Looks like defrichnav
is my friend :)
or defprotocolpath
: https://github.com/redplanetlabs/specter/wiki/List-of-Macros#defprotocolpath
Hmm, I see it takes params and one of them appears to be involved in the transform*
implementation of a RichNavigator
it creates, but I can't find any example usage of the latter.
Seems like a different way to do recursion by dispatching by type?