[racket] contracts on functions that take arbitrary keyword arguments
Use make-keyword-procedure?
Robby
On Thursday, December 26, 2013, Alexander D. Knauth wrote:
> I want to make contracts on some apply-like functions that check some
> arguments but just passes all the others (including keyword arguments) on
> to a function (provided as an argument). If there weren't any keyword
> arguments, I could use a rest argument to do this, but that wouldn't work
> with keyword arguments. Is there a way to do something like a rest
> argument for keyword-arguments in a contract?____________________
> Racket Users list:
> http://lists.racket-lang.org/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20131227/22a9e0cf/attachment.html>