From 57f35a2234618f90d431dab93c9b66569d9e8d24 Mon Sep 17 00:00:00 2001 From: Michael Fogleman Date: Mon, 11 Sep 2017 11:34:31 -0400 Subject: [PATCH] Document traversed. --- List-of-Navigators.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/List-of-Navigators.md b/List-of-Navigators.md index f550575..b9f59a6 100644 --- a/List-of-Navigators.md +++ b/List-of-Navigators.md @@ -1000,6 +1000,18 @@ See also [view](#view) (0 1 1 3 2 5 3 7 4 9) ``` +## traversed + +`(traversed path reduce-fn)` + +Navigates to a view of the current value by transforming with a reduction over +the specified traversal. + +```clojure +=> (select-any (traversed ALL +) [1 2 3 4]) +10 +``` + ## view `(view afn)`