docstring for view

This commit is contained in:
Nathan Marz 2016-05-05 14:29:20 -04:00
parent b4b2200377
commit 3602a08e5d

View file

@ -291,7 +291,10 @@
structure
)))
(defpath view [afn]
(defpath
^{:doc "Navigates to result of running `afn` on the currently navigated value."}
view
[afn]
(select* [this structure next-fn]
(next-fn (afn structure)))
(transform* [this structure next-fn]