VocabularycombinatorsInputsdefault | a quotation |
assoc | a sequence of quotation pairs |
OutputsWord descriptionConstructs a quotation which calls the first quotation in each pair of
assoc until one of them outputs a true value, and then calls the second quotation in the corresponding pair. Quotations are called in reverse order, and if no quotation outputs a true value then
default is called.
NotesThis word is used to implement compile-time behavior for
cond, and it is also used by the generic word system. Note that unlike
cond, the constructed quotation performs the tests starting from the end and not the beginning.
Definition