On Tue, Feb 5, 2013 at 5:57 PM, Dmitry Pavlov <[email protected]> wrote:

> Any hints will be much appreciated.

Does the following help?

(define (function-which-returns-an-unknown-number-of-values)
  (apply values (make-list (random 10) 'foo)))

> (call-with-values function-which-returns-an-unknown-number-of-values list)
'(foo foo foo foo foo)


Cheers
P.
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to