Add with-fresh-collected docstring
This commit is contained in:
parent
b13b8d3c35
commit
35c8a9380e
1 changed files with 6 additions and 1 deletions
|
|
@ -1089,7 +1089,12 @@
|
|||
(collect-val [this structure]
|
||||
val))
|
||||
|
||||
(defdynamicnav with-fresh-collected
|
||||
(defdynamicnav
|
||||
^{:doc
|
||||
"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."}
|
||||
with-fresh-collected
|
||||
[& path]
|
||||
(late-bound-richnav [late (late-path path)]
|
||||
(select* [this vals structure next-fn]
|
||||
|
|
|
|||
Loading…
Reference in a new issue