chickadee » dsssl-utils » dsssl-fixup

(dsssl-fixup OPTIONALS KEYS REST BODY...)syntax

Expands the BODY... in a new lexical scope where the #!optional, #!key, and #!rest variables have the correct value.

OPTIONALS is (OPTIONAL-BINDING...).

KEYS is ((KEYWORD KEYWORD-BINDING)...), where KEYWORD is a keyword.

OPTIONAL-BINDING & KEYWORD-BINDING have the form:

(IDENTIFIER DEFAULT)
as is
(IDENTIFIER)
becomes (IDENTIFIER #f)
IDENTIFIER
becomes (IDENTIFIER #f)