Created path (markdown)
parent
40f65fe2cd
commit
7cae954640
5
path.md
Normal file
5
path.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
A path is essentially a list of keywords.
|
||||||
|
|
||||||
|
However, the path `(:aardvark :beluga :coeleocanth :dodo)` may be denoted `:aardvark:beluga:coeleocanth:dodo` and will be expanded into a list by the reader. If the value of `:ardvark` in the current environment is a map, and the value of `:beluga` in that map is a map, and the value of `:coeleocanth` in that map is a map, then the value of the path `:aardvark:beluga:coeleocanth:dodo` is whatever the value of `:dodo` is in the map indicated by `:aardvark:beluga:coeleocanth`; however if the path cannot be fully satisfied the value is `nil`.
|
||||||
|
|
||||||
|
The notation `::aardvark:beluga:coeleocanth:dodo` is expanded by the reader into `((oblist) :aardvark :beluga :coeleocanth :dodo)`, or, in other words, is a path from the root namespace.
|
Loading…
Reference in a new issue