diff options
author | Joram Schrijver <i@joram.io> | 2014-04-03 10:39:32 +0200 |
---|---|---|
committer | Joram Schrijver <i@joram.io> | 2014-04-03 10:39:32 +0200 |
commit | b5e4d6dd01eefafa5b17db04c30ea2a479b1c63e (patch) | |
tree | 708658e9f6ff0945d9e0253b9371759d9e4cfbf3 | |
parent | 6fcf30a78c541c2c88b003752892cb433b8c6268 (diff) |
Fix invalid characters for Common Lisp symbols
The characters [ ] { and } are perfectly fine to use in variable names.
(defparameter b{l}a[b[l]]a "test") ; => B{L}A[B[L]]A
b{l}a[b[l]]a ; => "test"
-rw-r--r-- | common-lisp.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common-lisp.html.markdown b/common-lisp.html.markdown index dda60797..c842afe5 100644 --- a/common-lisp.html.markdown +++ b/common-lisp.html.markdown @@ -140,7 +140,7 @@ nil ; for false - and the empty list ;; 2. Variables ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; You can create a global (dynamically scoped) using defparameter -;; a variable name can use any character except: ()[]{}",'`;#|\ +;; a variable name can use any character except: ()",'`;#|\ ;; Dynamically scoped variables should have earmuffs in their name! |