From b5e4d6dd01eefafa5b17db04c30ea2a479b1c63e Mon Sep 17 00:00:00 2001 From: Joram Schrijver Date: Thu, 3 Apr 2014 10:39:32 +0200 Subject: [PATCH] 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" --- common-lisp.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!