Next: , Previous: , Up: Symbols Dictionary  


10.2.11 symbol-name [Function]

symbol-name symbolname

Arguments and Values::

symbol—a symbol.

name—a string.

Description::

symbol-name returns the name of symbol.

The consequences are undefined if name is ever modified.

Examples::

 (symbol-name 'temp) ⇒  "TEMP" 
 (symbol-name :start) ⇒  "START"
 (symbol-name (gensym)) ⇒  "G1234" ;for example

Exceptional Situations::

Should signal an error of type type-error if symbol is not a symbol.