Go to the first, previous, next, last section, table of contents.


Creating Symbols

It is possible to allocate symbols dynamically, this is normally only necessary when the symbol is to be interned in the non-default obarray or the symbol is a temporary object which should not be interned (for example: labels in a compiler?).

Function: make-symbol print-name
This function creates and returns a new, uninterned, symbol whose print name is the string print-name. Its variable and function value cells are void and it will have an empty property list.

(make-symbol "foo")
    => foo

Function: gensym
This function returns a new, uninterned, symbol which has a unique print name.

(gensym)
    => G0001

(gensym)
    => G0002


Go to the first, previous, next, last section, table of contents.