[racket] list->values

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Sat Sep 17 13:48:47 EDT 2011

Jeremy Kun wrote at 09/17/2011 01:43 PM:
> Is there a function that converts a list into a values expression 
> which contains every element of the list? I've run into a bit of 
> trouble trying to implement something like it myself, and it's 
> probably because I don't understand exactly how values is used (or 
> supposed to be used).

See "call-with-values".  Don't be afraid if the code looks a little 
awkward: hide it in a procedure or macro.


Posted on the users mailing list.