Skip to content

Symbol

Scalar Type Code: -6. Scalar Internal Name: symbol. Vector Type Code: 6. Vector Internal Name: Symbol.

Represents an interned string.

 (type 'thisissymbol) ;; Scalar
symbol
 (type ['first 'second]) ;; Vector
Symbol

Symbol can be used to associate a certain value with the variable, using function set

 (set t (as 'B8 [true false]))
[true false]
 t
[true false]

See Symbol usage as Table column headers.