[racket] Is there any limitation, the numbers of arguments in Racket?
Hello.
I've just installed Racket v.5.92.
I'm trying writing a Brainf*ck interpreter. It's not been completed yet.
By the way, the interpreter I'm making needs 7 arguments.
However, strangely it seems it can't recognize arguments.
(repl #f #f 0 #f 0 '((0 . 0)) #f)
result arity mismatch;
expected number of values not received
expected: 7
received: 1
from:
in: local-binding form
values...:
#f
>
Strange. Eventhough I gave 7 arguments, Racket says it receives only 1
argument.
As a experiment, I gave 6 arguments to the REPL.
(repl #f #f 0 #f 0 '((0 . 0)))
repl: arity mismatch;
the expected number of arguments does not match the given number
expected: 7
given: 6
arguments...:
#f
#f
0
#f
0
'((0 . 0))
>
It seems that it can recognize up to 6 arguments.
Is there any limitation about the number of arguments in Racket?
Thanx.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20140128/c3e6bb36/attachment.html>