mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-13 02:04:23 +02: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:
@@ -140,7 +140,7 @@ nil ; for false - and the empty list
|
|||||||
;; 2. Variables
|
;; 2. Variables
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; You can create a global (dynamically scoped) using defparameter
|
;; 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!
|
;; Dynamically scoped variables should have earmuffs in their name!
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user