chickadee » list-utils » assoc-def

(assoc-def KEY ALIST [TEST] [NOT-FOUND])syntax

The assoc procedure with an optional test and default value.

Error signaling version of assoc. When the KEY is not found and a NOT-FOUND value is not supplied an error is invoked.