From 0435612e5473be1ffaa76f6ac1e4d7b7ae3df719 Mon Sep 17 00:00:00 2001 From: Michael Fogleman Date: Mon, 11 Sep 2017 10:51:50 -0400 Subject: [PATCH] Document AFTER-ELEM. --- List-of-Navigators.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/List-of-Navigators.md b/List-of-Navigators.md index b696f99..3bd2cf5 100644 --- a/List-of-Navigators.md +++ b/List-of-Navigators.md @@ -3,6 +3,7 @@ **Table of Contents** - [Unparameterized Navigators](#unparameterized-navigators) + - [AFTER-ELEM](#after-elem) - [ALL](#all) - [ATOM](#atom) - [BEGINNING](#beginning) @@ -63,6 +64,15 @@ # Unparameterized Navigators +## AFTER-ELEM + +`AFTER-ELEM` navigates to the 'void' element after the sequence. For transformations – if result is not `NONE`, then append that value. + +``` +=> (setval AFTER-ELEM 3 [1 2]) +[1 2 3] +``` + ## 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]`.