Symbol (programming): Difference between revisions

Content deleted Content added
m ISBNs (Build KE)
m Lisp: Italicize `package' and replace `called' with `or'.
Line 32:
=== Lisp ===
 
A symbol in [[Lisp (programming language)|Lisp]] is unique in a [[namespace]] (calledor ''package'' in [[Common Lisp]]). Symbols can be tested for equality with the function EQ. Lisp programs can generate new symbols at runtime. When Lisp reads data that contains textual represented symbols, existing symbols are referenced. If a symbol is unknown, the Lisp reader creates a new symbol.
 
In [[Common Lisp]] symbols have the following attributes: a name, a value, a function, a list of properties and a package.<ref>[http://www.lispworks.com/documentation/HyperSpec/Body/t_symbol.htm Common Lisp HyperSpec, system class Symbol]</ref>