From 3602a08e5d1c9b88ebf529d5cb14cab42fe0392e Mon Sep 17 00:00:00 2001 From: Nathan Marz Date: Thu, 5 May 2016 14:29:20 -0400 Subject: [PATCH] docstring for view --- src/clj/com/rpl/specter.cljx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/clj/com/rpl/specter.cljx b/src/clj/com/rpl/specter.cljx index cf5340a..cc0152a 100644 --- a/src/clj/com/rpl/specter.cljx +++ b/src/clj/com/rpl/specter.cljx @@ -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]