I keep working on the assumption that [{:key ?value} …]
is the same as (m/scan {:key ?value})
Sometimes it works and sometimes it doesn’t. What am I not getting? lol
I'll fix that today. Sorry about that. You can go back one version to look at them.
All good! Appreciate all the work you guys are doing! I couldn’t imagine writing this 120 line meander function for transforming deeply nested json any other way
All fixed
They’re also available in the doc folder in the repo. 🙂
The only problem was the API docs from the doc strings.
I think I was also using it a bit wrong on cljdoc. Also my bad :p
If you look at the docstring of scan you will see it is equal to [_ ... pattern . _ ...]
. So unlike a simple repeat scan can skip over elements.
Ah I see.
I’m starting to grok how this works. With respect to when I read the code lol. Ignore, repeat ignore, match pattern, stop point for next repeats, ignore, repeat ignore.