Skip to content

Commit f354db7

Browse files
committed
add note on & as local binding in reader symbols
1 parent 742ee93 commit f354db7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

content/reference/reader.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Since we have to start somewhere, this reference starts where evaluation starts,
2727
* '/' has special meaning, it can be used once in the middle of a symbol to separate the namespace from the name, e.g. `my-namespace/foo`. '/' by itself names the division function.
2828
* '.' has special meaning - it can be used one or more times in the middle of a symbol to designate a fully-qualified class name, e.g. `java.util.BitSet`, or in namespace names. Symbols beginning or ending with '.' are reserved by Clojure. Symbols containing / or . are said to be 'qualified'.
2929
* Symbols beginning or ending with ':' are reserved by Clojure. A symbol can contain one or more non-repeating ':'s.
30+
* The symbol '&' is reserved for syntax and cannot be a local binding.
3031

3132
=== Literals
3233

0 commit comments

Comments
 (0)