[racket] list->values

From: Stephen Chang (stchang at ccs.neu.edu)
Date: Sat Sep 17 13:49:34 EDT 2011

>> Is there a function that converts a list into a values expression which
>> contains every element of the list?

> (apply values (list 1 2 3))

>> 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).
>> My use case is essentially to make my web-server templating code shorter by
>> using let*-values and calling a lookup table to return a bunch of strings
>> corresponding to which page I want to serve.
>> Jeremy
>> _________________________________________________
>>  For list-related administrative tasks:
>>  http://lists.racket-lang.org/listinfo/users

Posted on the users mailing list.