| [ << Notation manual tables ] | [Top][Contents][Index] | [ Cheat sheet >> ] |
| [ < Technical glossary ] | [ Up : Technical glossary ] | [ callback > ] |
alist
An association list or alist for short is a Scheme pair
which associates a value with a key: (key . value). For
example, in ‘scm/lily.scm’, the alist
“type-p-name-alist” associates certain type predicates
(e.g., ly:music?) with names (e.g., “music”) so
that type check failures can be reported with a console message that
includes the name of the expected type predicate.
| [ << Notation manual tables ] | [Top][Contents][Index] | [ Cheat sheet >> ] |
| [ < Technical glossary ] | [ Up : Technical glossary ] | [ callback > ] |