symbol->string

[procedure] symbol->string symbol

R5RS, R6RS: Returns the name of symbol as a string. Returned string is immutable.

In R5RS, if symbol is originated from a literal expression or from the read procedure, the implementation may fold the case of alphabetic characters in the symbol name to its preferred standard case.

  (symbol->string 'aBc) => abc or ABC   ;; R5RS
  (symbol->string 'aBc) => aBc          ;; R6RS

In R6RS, case folding is off by default. (The implementation may provide case folding mode. A token #!fold-case? may be used in the source to show it should be read in case folding mode.)

See also string->symbol.