6.3.90.900
1 keyword-lambda
(require kw-utils/keyword-lambda) | package: kw-utils |
syntax
(keyword-lambda (kws kw-args . rest-args) body ...)
roughly equivalent to
(make-keyword-procedure (lambda (kws kw-args . rest-args) body ...))
Examples:
> (require kw-utils/keyword-lambda)
> (define proc (keyword-lambda (kws kw-args . rest-args) (list kws kw-args rest-args)))
> (proc #:a 'a #:b 'b 0 1 2) '((#:a #:b) (a b) (0 1 2))