Document NON-ELEM.

This commit is contained in:
Michael Fogleman 2017-09-11 10:57:20 -04:00
parent 8d265f33a7
commit 161a616ada

View file

@ -21,6 +21,7 @@
- [NIL->LIST](#nil-list)
- [NIL->SET](#nil-set)
- [NIL->VECTOR](#nil-vector)
- [NONE-ELEM](#none-elem)
- [STAY](#stay)
- [STOP](#stop)
- [VAL](#val)
@ -298,6 +299,17 @@ the structure has no metadata or may not contain metadata.
:foo
```
## NONE-ELEM
`NONE-ELEM` navigates to the 'void' elem in a set. For transformations - if the result is not `NONE`, then add that value to the set.
```
=> (setval NONE-ELEM 3 #{1 2})
#{1 2 3}
=> (setval NONE-ELEM 1 nil)
#{1}
```
## STAY
`STAY` stays in place. It is the no-op navigator.