(lispref.info)Association List Type
Prev: Dotted Pair Notation Up: List Type
Association List Type
An "association list" or "alist" is a specially-constructed list
whose elements are cons cells. In each element, the CAR is considered
a "key", and the CDR is considered an "associated value". (In some
cases, the associated value is stored in the CAR of the CDR.)
Association lists are often used to implement stacks, since new
associations may easily be added to or removed from the front of the
'((rose . red) (lily . white) (buttercup . yellow)))
sets the variable `alist-of-colors' to an alist of three elements. In
the first element, `rose' is the key and `red' is the value.
Note: Association Lists, for a further explanation of alists and
for functions that work on alists.
automatically generated by info2www