chickadee » moremacros » define-reference-let

(define-reference-let NAME REFERENCE-FUNCTION)syntax

NAME is a symbol, the name of the generated reference-let macro.

REFERENCE-FUNCTION is a (procedure (* * *) *) with arguments:

The REFERENCE-FUNCTION is to return the value for KEY in the TABLE, otherwise the DEFAULT value.

The generated macro has the signature: