meander 2021-12-26

Assuming I have some nested map {:x {:y {:z {& (m/seqable [!ks !vs] ...)}} :foo ?foo} how do I rewrite it to a sequence of maps for all vs and add ?foo to the mix?

I tried using cata on the rhs but get only a map back and not a vector

using rewrite, btw

I think I got it, I need to rewrite the RHS to [{:foo ?foo & (m/cata !vs)} ...]