[racket-dev] Removing Xexpr preference from Web Server

From: Eli Barzilay (eli at barzilay.org)
Date: Tue Nov 30 09:04:05 EST 2010

Two hours ago, Robby Findler wrote:
> On Tue, Nov 30, 2010 at 5:18 AM, Eli Barzilay <eli at barzilay.org> wrote:
> >
> > The problem here is that there is no name to change -- it's the
> > implicit "coercion" of xexpr values to a response.
> 
> Why can't there be two libraries, one that coerces and one that
> doesn't? More generally, one that acts the same as the current
> library and one that is intended for new code?

That would require a new `web-server' module, as well as a whole bunch
of other modules.  Even worse, writing a module using one web server
library, and using it in the other won't work, since it's a dynamic
property of how the result is getting used.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!


Posted on the dev mailing list.