<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>