Document NAMESPACE.
This commit is contained in:
parent
72d05e9447
commit
c97d0edaca
1 changed files with 12 additions and 0 deletions
|
|
@ -14,6 +14,7 @@
|
|||
- [MAP-VALS](#map-vals)
|
||||
- [META](#meta)
|
||||
- [NAME](#name)
|
||||
- [NAMESPACE](#namespace)
|
||||
- [NIL->LIST](#nil-list)
|
||||
- [NIL->SET](#nil-set)
|
||||
- [NIL->VECTOR](#nil-vector)
|
||||
|
|
@ -216,6 +217,17 @@ Navigates to the name of a keyword.
|
|||
["a" "b" "c"]
|
||||
```
|
||||
|
||||
## NAMESPACE
|
||||
|
||||
Navigates to the namespace of keywords or variables.
|
||||
|
||||
```clojure
|
||||
=> (select [ALL NAMESPACE] [::test ::fun])
|
||||
["playground.specter" "playground.specter"]
|
||||
=> (select [ALL NAMESPACE] [::test :fun])
|
||||
["playground.specter" nil]
|
||||
```
|
||||
|
||||
## NIL->LIST
|
||||
|
||||
`NIL->LIST` navigates to the empty list `'()` if the value is nil. Otherwise it stays at the current value.
|
||||
|
|
|
|||
Loading…
Reference in a new issue