[racket] Bouncing default value

From: Laurent (laurent.orseau at gmail.com)
Date: Tue Feb 14 11:53:52 EST 2012

On Tue, Feb 14, 2012 at 17:45, Chongkai Zhu <czhu at cs.utah.edu> wrote:

> I simply use
>
> (define (bar . x)
>  (apply foo 5 x))
>

Yes, but that does not work if the specified optional argument is not the
first one (and not the last one).
That works if all default arguments are all keyword-based though (using
keyword-apply).

Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120214/3b52b3fa/attachment.html>

Posted on the users mailing list.