[racket] Bouncing default value
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>