CLCS
Function

symbol-name

symbol-name symbolname

Arguments and Values

symbola symbol.
namea 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.