chickadee » syn-param » with-extended-parameter-operators

(with-extended-parameter-operators ((NAME (PROCEDURE (PARAM . DEFAULT) ...)) ...) BODY ...)syntax

Provides local procedures available as NAME ... that when invoked allow passing named parameters to the corresponding PROCEDURE ... using the (=> PARAM VALUE) syntax. For example:

(define (foo x y z) ...)

(with-extended-parameter-operators
    ((foo* (foo (x . 0) (y . 0) (z . 0))))
  (foo* 5 (=> z 3) (=> y 1)))

<=>

(foo 5 1 3)