@idiomancy yes, srange-dynamic would work for that
how would you write a transform that modifies every string value in a tree? I have yet to check the doc but I figured I might just ask here in the meanwhile 😛
(transform (walker string?) your-fn your-coll)
not the most efficient way but gets the job done
if you need performance, write your own recursive navigator: https://github.com/nathanmarz/specter/wiki/Using-Specter-Recursively#a-basic-example
reading that at the moment, that seems like what I am looking for indeed. thanks
Has anyone used Specter for Matrix algebra? I'm dealing with Kalman filtering N streams of data, and I have to do all this ceremony around assigning an index to each sensor value, multiplying some matrixes together that are really about (premature) index-based optimization, then I have to un-index them again - basically, lensing.
@petrus I've done some stuff with matrices
you'll want custom navigators for them to do anything sophisticated
e.g. a "submat" navigator that navigates to an arbitrary sub-matrix
"row" and "col" navigators can be useful too