Document NON-ELEM.
This commit is contained in:
parent
8d265f33a7
commit
161a616ada
1 changed files with 12 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue