<div dir="ltr">PS. This vital project has already been <div> </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 27, 2014 at 5:35 PM, 亀田馬志 <span dir="ltr"><<a href="mailto:masashi.kameda@gmail.com" target="_blank">masashi.kameda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Oh, O.K. I found it out.<div>At first, the debugger of Racket doesn't work, so I misunderstood.</div>
<div><br></div><div>Thanx.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-01-28 Carl Eastlund <span dir="ltr"><<a href="mailto:carl.eastlund@gmail.com" target="_blank">carl.eastlund@gmail.com</a>></span><div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Be careful reading your error messages. The first one says "result arity mismatch", the second one says "repl: arity mismatch". Only the second one is about the arguments you passed to the function called "repl". The first one must be about something else that went wrong.<br>
</div><div class="gmail_extra"><br clear="all"><div>Carl Eastlund</div>
<br><br><div class="gmail_quote"><div><div>On Mon, Jan 27, 2014 at 8:12 PM, 亀田馬志 <span dir="ltr"><<a href="mailto:masashi.kameda@gmail.com" target="_blank">masashi.kameda@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div dir="ltr">Hello.<div>I've just installed Racket v.5.92.</div><div><br></div><div>I'm trying writing a Brainf*ck interpreter. It's not been completed yet.</div><div>By the way, the interpreter I'm making needs 7 arguments.</div>
<div>However, strangely it seems it can't recognize arguments.</div><div><br></div><div>(repl #f #f 0 #f 0 '((0 . 0)) #f)<br></div><div><br></div><div><div>result arity mismatch;</div><div> expected number of values not received</div>
<div> expected: 7</div><div> received: 1</div><div> from: </div><div> in: local-binding form</div><div> values...:</div><div> #f</div><div>> </div></div><div><br></div><div>Strange. Eventhough I gave 7 arguments, Racket says it receives only 1 argument.</div>
<div>As a experiment, I gave 6 arguments to the REPL.</div><div><br></div><div>(repl #f #f 0 #f 0 '((0 . 0)))<br></div><div><br></div><div><div>repl: arity mismatch;</div><div> the expected number of arguments does not match the given number</div>
<div> expected: 7</div><div> given: 6</div><div> arguments...:</div><div> #f</div><div> #f</div><div> 0</div><div> #f</div><div> 0</div><div> '((0 . 0))</div><div>> </div></div><div><br></div><div>It seems that it can recognize up to 6 arguments.</div>
<div>Is there any limitation about the number of arguments in Racket?</div><div><br></div><div>Thanx.</div><div><br></div><div><br></div></div>
<br></div></div>____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div></div><br></div>
<br>____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br></div>