[plt-scheme] multiple units with identical signatures

From: Synx (plt at synx.us.to)
Date: Tue Nov 3 00:30:18 EST 2009



I was using (define-values (a b) ...) for something that returned 2
values, but putting a procedure in the way, on the unit invocation level.

(define-values (a b)
    (return-two-values ...)))

--> context expected 1 value, received 2 values: #<procedure>

...with no stack trace, no indication where the values were being
improperly returned.

Posted on the users mailing list.