Fork me on GitHub
#specter
<
2016-06-25
>
luxbock15:06:06

I have a nested data-structure and I'd like to collect all lists from it, and then return a map with the original data-structure as one value and a vector of all of the lists as another

luxbock15:06:25

am I right in assuming I can't use walker for this? since it just edits the matched values in-place

nathanmarz15:06:17

@luxbock: walker will not traverse into matched elements, so as long as you don't need that it sounds like it should work

luxbock17:06:48

@nathanmarz: yeah thanks, I got it working