[racket] list->values

From: Jeremy Kun (kun.jeremy at gmail.com)
Date: Sat Sep 17 13:43:58 EDT 2011

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).

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110917/daedf4af/attachment.html>

Posted on the users mailing list.