1.4.9 Association Lists
An association list is a list of cons-pairs, representing a table in which the car of each pair maps to its cdr.
Examples: | ||||
|
Examples: | ||||
|
Examples: | ||||
|
procedure
(assoc-equal x alist) → t
x : t alist : (alistp alist)
Examples: | ||||
|
procedure
(assoc-keyword key l) → t
key : t l : (keyword-value-listp l)
Example: | ||
|
procedure
(assoc-string-equal str alist) → t
str : (and (stringp str) (standard-char-listp (coerce str 'list))) alist : (standard-string-alistp alist)
Examples: | ||||
|
procedure
(eqlable-alistp x) → t
x : t
Examples: | ||||||
|
procedure
(put-assoc-eq name val alist) → t
name : t val : t alist : (if (symbolp name) (alistp alist) (symbol-alistp alist))
Examples: | ||||
|
procedure
(put-assoc-eql name val alist) → t
name : t val : t alist : (if (eqlable name) (alistp alist) (eqlable-alistp alist))
Examples: | ||||||
|
procedure
(put-assoc-equal name val alist) → t
name : t val : t alist : (alistp alist)
Examples: | ||||
|
Examples: | ||||
|
Examples: | ||||
|
procedure
(rassoc-equal x lst) → t
x : t lst : (alistp lst)
Examples: | ||||
|
procedure
(standard-string-alistp x) → t
x : t
Example: | ||
|
procedure
(strip-cars x) → t
x : (alistp x)
Example: | ||
|
procedure
(strip-cdrs x) → t
x : (alistp x)
Example: | ||
|
procedure
alst : (eqlable-alistp alst) tree : t
procedure
(symbol-alistp x) → t
x : t
Examples: | ||||
|
procedure
x : (true-listp x) y : (true-listp y)