Hello,
just an (expert) question , is there a way in call/cc to return multiple values?
i mean something like this but working:
> (call/cc (lambda (ct) (ct (values 1 2))))
. . result arity mismatch;
expected number of values not received
expected: 1
received: 2
shawnw
2
Leave off the values
; just call the continuation with multiple arguments:
(let-values ([(a b) (call/cc (lambda (ct) (ct 1 2)))])
(list a b))
cool.... 
works also with my def
without changing the code but i did not knew it:
(def (foo) (return 1 2))
(foo)
1
2