4 ms·
In Common Lisp you can use pretty much any character in a symbol name, if you escape it: [3]> '|(``"| |(``"| [4]> (defvar |(``"| 42) |(``"| [5]> |(``
by kazinator 6y ago
In Common Lisp you can use pretty much any character in a symbol name, if you escape it:
[3]> '|(``"|
|(``"|
[4]> (defvar |(``"| 42)
|(``"|
[5]> |(``"|
42
It's pretty dubious for code; it's useful when working with some data format that has identifiers with its own validity rules.
There is more than one way to escape: vertical bars or backslashes:
[6]> (eq '|(``"| '\(\`\`\")
T