<div dir="ltr">(inst c% 1 #:z 3 2) would work for the last, I'm pretty sure.<div><br>Robby</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Feb 3, 2013 at 9:50 AM, Tony Garnock-Jones <span dir="ltr"><<a href="mailto:tonyg@ccs.neu.edu" target="_blank">tonyg@ccs.neu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 2013-02-01 3:29 PM, Asumu Takikawa wrote:<br>
> (new c% 1 2 3) => (instantiate c% (1 2 3))<br>
> (new c% [x 1] [y 2]) => (instantiate c% [x 1] [y 2])<br>
> (new c% [z 3] 1 2) => (instantiate c% (1 2) [z 3])<br>
> (new c% 1 [z 3] 2) => (instantiate c% (1 2) [z 3])<br>
<br>
</div>How about<br>
<br>
(inst c% 1 2 3)<br>
(inst c% #:x 1 #:y 2)<br>
(inst c% 1 2 #:z 3)<br>
;; not sure what to do about the last one<br>
<br>
?<br>
<br>
I guess there's no exact analogy to keyword arguments because kw args<br>
can't be positional in the current implementation.<br>
<span class="HOEnZb"><font color="#888888"><br>
Tony<br>
</font></span><div class="HOEnZb"><div class="h5">_________________________<br>
Racket Developers list:<br>
<a href="http://lists.racket-lang.org/dev" target="_blank">http://lists.racket-lang.org/dev</a><br>
</div></div></blockquote></div><br></div>