On Mon, Jan 27, 2014 at 8:23 PM, Carl Eastlund <[email protected]> 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
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to