[racket] Is there any limitation, the numbers of arguments in Racket?

From: Sam Tobin-Hochstadt (samth at cs.indiana.edu)
Date: Mon Jan 27 20:27:15 EST 2014

On Mon, Jan 27, 2014 at 8:23 PM, Carl Eastlund <carl.eastlund at gmail.com> wrote:
> 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.

In particular, you get that error like this:

-> (define-values (x y) (cons 1 2))
; define-values: result arity mismatch;
;  expected number of values not received
;   expected: 2
;   received: 1
;   from:
;   in: definition of x ...
; [,bt for context]

Sam

Posted on the users mailing list.