mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 15:24:09 +03:00
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"
This commit is contained in:
parent
6fcf30a78c
commit
b5e4d6dd01
@ -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!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user