Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Data::SExpression::SymUser3Contributed Perl DocumeData::SExpression::Symbol(3)

NAME
       Data::SExpression::Symbol -- A Lisp symbol read by Data::SExpression

DESCRIPTION
       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.

STRINGIFICATION	AND COMPARISON
       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.

   new NAME
       Returns a new interned symbol with the given NAME

   uninterned NAME
       Returns a new uninterned	symbol with the	given NAME

   name
       Returns the symbol's name, as passed to "new" or	"uninterned".

   interned
       Returned	true iff the symbol is interned

SEE ALSO
       Data::SExpression

AUTHOR
       Nelson Elhage <nelhage@mit.edu>

perl v5.32.0			  2009-01-09	  Data::SExpression::Symbol(3)

NAME | DESCRIPTION | STRINGIFICATION AND COMPARISON | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Data::SExpression::Symbol&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help