Fork me on GitHub
#specter
<
2018-09-14
>
nathanmarz03:09:36

@idiomancy yes, srange-dynamic would work for that

mpenet11:09:17

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 😛

schmee11:09:45

(transform (walker string?) your-fn your-coll)

schmee11:09:59

not the most efficient way but gets the job done

mpenet11:09:57

reading that at the moment, that seems like what I am looking for indeed. thanks

Petrus Theron12:09:10

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.

nathanmarz12:09:10

@petrus I've done some stuff with matrices

nathanmarz12:09:26

you'll want custom navigators for them to do anything sophisticated

nathanmarz12:09:08

e.g. a "submat" navigator that navigates to an arbitrary sub-matrix

nathanmarz12:09:29

"row" and "col" navigators can be useful too