From 1c542a1b9f0ee63add5caf1148f5f309a8b3e8eb Mon Sep 17 00:00:00 2001 From: Nathan Marz Date: Sun, 12 Jun 2016 09:45:47 -0400 Subject: [PATCH 1/2] Updated List of Navigators (markdown) --- List-of-Navigators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/List-of-Navigators.md b/List-of-Navigators.md index 073d007..e8a8283 100644 --- a/List-of-Navigators.md +++ b/List-of-Navigators.md @@ -21,7 +21,7 @@ ### ALL -`ALL` navigates to every element in a collection. If the collection is a map, it will navigate to each key-value pair `[key value]`. Reconstructs collection items as a vector when used in a select. +`ALL` navigates to every element in a collection. If the collection is a map, it will navigate to each key-value pair `[key value]`. ```clojure => (select ALL [0 1 2 3]) From 71b69ff7425e37b1d2bc6bb440bb6b84aa7c50f2 Mon Sep 17 00:00:00 2001 From: Nathan Marz Date: Sun, 12 Jun 2016 09:47:33 -0400 Subject: [PATCH 2/2] Updated List of Navigators (markdown) --- List-of-Navigators.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/List-of-Navigators.md b/List-of-Navigators.md index e8a8283..80dea21 100644 --- a/List-of-Navigators.md +++ b/List-of-Navigators.md @@ -61,6 +61,8 @@ (0 1 2 3 4 5 6) => (setval BEGINNING {0 1} (range 2 7)) ([0 1] 2 3 4 5 6) +=> (setval BEGINNING '(0 1) [2 3 4]) +[0 1 2 3 4] => (setval BEGINNING {:foo :baz} {:foo :bar}) ([:foo :baz] [:foo :bar]) ``` @@ -76,6 +78,8 @@ (0 1 2 3 4 5 6) => (setval END {5 6} (range 5)) (0 1 2 3 4 [5 6]) +=> (setval END '(5 6) [1 2 3 4]) +[1 2 3 4 5 6] => (setval END {:foo :baz} {:foo :bar}) ([:foo :bar] [:foo :baz]) ```