'(alice bob charlotte don)
The quote mark (') distinguishes "literals" from identifiers and "literal lists" from function references.
A non-literal list is interpreted as a function reference in which the first element of the list is the function identifier and the remainder of the list is the set of arguments.
(alice bob (charlotte don))
(('1 'cat '1) (form (88 (alice don) 99)))
Alternatively we can describe a whole list as being a literal:
('(1 cat 1) '(17 '(88 (alice don) 99)))
Numeric strings are always treated as "literals".
As a tree:
Last Updated 01/05/2000
© L.Heath, 2000