No, (list (values 1 2 3)) is not supposed to work. Multiple values can be cumbersome to work with. In this case you want:
(call-with-values (λ () (values 1 2 3)) list) Yeah - not pretty. Other constructs to learn about: define-values match-values /Jens Axel 2016-08-18 19:36 GMT+02:00 Sanjeev Sharma <throw...@gmail.com>: > (list(values 1 2 3)) > result arity mismatch; > expected number of values not received > expected: 1 > received: 3 > values...: > > > I've been under the impression this should be identical to > (list 1 2 3) > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- -- Jens Axel Søgaard -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.