Fork me on GitHub
#specter
<
2020-04-08
>
thom15:04:15

What's an efficient way to find a value that comes after (in a vector) something matched by a walker? Should I just be matching one level up instead? For example, in [:foo [:bar [:arbitrarily-nested-stuff [:baz 42]]] if I was interested in the value 42 next to that deeply nested :baz?

nathanmarz16:04:34

@thom704 yea, you would want to match one level higher

thom16:04:31

I think I had a slightly wrong-headed zippers way of thinking about it where I could get to somewhere and then just navigate around arbitrarily