Lisp Atom

In the original LISP, the originator of the Lisp programming language family, there were two fundamental data types, atoms and lists. A list was a finite ordered sequence of elements, where each element is in itself either an atom or a list, and an atom was a number or a symbol. A symbol was essentially a unique named item, written as an alphanumeric string in source code, and used either as a variable name or as a data item in symbolic processing. For example, the list (FOO (BAR 1) 2) contains three elements: the symbol FOO, the list (BAR 1), and the number 2. The essential difference between atoms and lists was that atoms were immutable and unique. Two atoms that appeared in different places in source code but were written in the exact same way represented the same object, whereas each list was a separate object that could be altered independently of other lists and could be distinguished from other lists by comparison operators. As more data types were introduced in later Lisp dialects, and programming styles evolved, the concept of an atom lost importance. Many dialects still retained the predicate atom for legacy compatibility, defining it as true for anything that is not a cons cell (ie. a list or a partial list).

 

<< PreviousWord BrowserNext >>
archbishopric of mainz
grand duchy of frankfurt
dictionnaire infernal
blackpool pleasure beach
fuamnach
archbishopric of cologne
reg mombassa
porter 5 forces analysis
archbishopric of trier
republic of taiwan
lamar hunt u.s. open cup
local churches
nontrinitarianism
operation pastel
operation majestic
operation desert farewell
operation tinderbox
albay
operation guardian
scottish clan
house of stuart
gratz v. bollinger
mandarin duck
redlibre
buggy
exhibitionist
gualichu
james tilly matthews
william farr
jiangxi soviet
seagram
vladislav delay
battle of ohaeawai
dhalgren
knuth morris pratt algorithm
freetown christiania
the scar
confusion
mark baldwin
quantum quality productions
dimension of an algebraic variety
pavel alekseyevich cherenkov
algebraic curve
history of slavery in the united states