From d797e1aec18a835e8dc00e011488513b1bd2f272 Mon Sep 17 00:00:00 2001 From: Alex Engelberg Date: Tue, 19 Apr 2016 12:03:21 -0700 Subject: [PATCH] Add warning to docstring about input navigator requirement --- src/clj/com/rpl/specter.cljx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/clj/com/rpl/specter.cljx b/src/clj/com/rpl/specter.cljx index 4667ed0..42b32c2 100644 --- a/src/clj/com/rpl/specter.cljx +++ b/src/clj/com/rpl/specter.cljx @@ -258,7 +258,11 @@ (defn select-view "Navigates to a sequence that contains the results of (select ...), - but is a view to the original structure that can be transformed." + but is a view to the original structure that can be transformed. + + Requires that the input navigators will walk the structure's + children in the same order when executed on \"select\" and then + \"transform\"." [& path] (fixed-pathed-path [late path] (select* [this structure next-fn]