Data::SExpression::Symbol -- A Lisp symbol read by Data::SExpression
A Data::SExpression::Symbol represents a lisp symbol. Symbols are usually used as opaque objects that can be compared with each other, but are not intended to be used for other operations.
There are two kinds of symbols, interned, and uninterned. Most symbols are interned. There is only ever one interned instance of the Symbol class for a given name.
interned
uninterned
Symbol
Interned symbols stringify to their ->name. Uninterned symbols stringify to "#:$name", after the Common Lisp convention.
Interned symbols are eq to their name. Uninterned symbols are not eq to anything except themself.
Returns a new interned symbol with the given NAME
Returns a new uninterned symbol with the given NAME
Returns the symbol's name, as passed to new or uninterned.
new
Returned true iff the symbol is interned
Data::SExpression
Nelson Elhage <nelhage@mit.edu>
To install Data::SExpression, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::SExpression
CPAN shell
perl -MCPAN -e shell install Data::SExpression
For more information on module installation, please visit the detailed CPAN module installation guide.