If you are OK with preprocessing the argument list into a dictionary, then you can use keyword-apply/dict.
For example:
#lang racket
(require racket/dict)
(define proc (lambda (#:color color #:size size) (display (cons color size))))
(define args '(#:color "red" #:size 3))
(define args*
(for/hash ([chunk (in-slice 2 args)])
(values (first chunk) (second chunk))))
(keyword-apply/dict proc args* '())
--
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/06a1b45b-77ca-4595-b5b6-0b4ce01fe026n%40googlegroups.com.