Open ohpauleez opened 5 years ago
Yeah I've considered it, I'm just not sure it's worthwhile and I'm being conservative in what features I add.
Consider that:
I might reconsider at some point, so feel free to post examples of use cases justifying the suggested approach.
Currently, transformation is closed for extension, with all the rules for transformation being captured in a
cond
. Consider introducing a protocol with a single protocol-function(-transform [this source-obj args])
which gets called in place of the exception within the else or in a clause before checking forsatisfies?
. This would allow users to define new forms of transformation which may be domain specific or are more optimized for theirsource-obj
.