Add with-fresh-collected docstring.

This commit is contained in:
Michael Fogleman 2017-11-03 12:06:22 -04:00
parent f98489668c
commit ea0b6144e7

View file

@ -82,6 +82,7 @@ It is a convention in Specter that unparameterized navigators are capitalized, w
- [traversed](#traversed)
- [view](#view)
- [walker](#walker)
- [with-fresh-collected](#with-fresh-collected)
<!-- markdown-toc end -->
@ -1259,3 +1260,12 @@ See also [codewalker](#codewalker)
'(1 (2 (3 4) 5 (6 7)) (8 9)))
(1 :double :double)
```
## with-fresh-collected
`(with-fresh-collected & path)`
`with-fresh-collected` continues navigating on the given path with the
collected vals reset to []. Once navigation leaves the scope of
`with-fresh-collected`, the collected vals revert to what they were
before.