[Haskell-cafe] Re: Can this be done?

Sebastian Sylvan sylvan at student.chalmers.se
Wed Feb 11 14:13:54 EST 2009


On Wed, Feb 11, 2009 at 5:41 PM, Achim Schneider <barsoap at web.de> wrote:

> Evan Laforge <qdunkan at gmail.com> wrote:
>
> > On Wed, Feb 11, 2009 at 9:34 PM, Alistair Bayley
> > <alistair at abayley.org> wrote:
> > > 2009/2/11 Cristiano Paris <cristiano.paris at gmail.com>:
> > >> I wonder whether this can be done in Haskell (see muleherd's
> > >> comment):
> > >>
> > >>
> http://www.reddit.com/r/programming/comments/7wi7s/how_continuationbased_web_frameworks_work/
> > >
> > > WASH did/does something similar. You can certainly write
> > > applications in a similar, workflow-ish style (rather than like a
> > > state machine).
> >
> > To hijack the subject, what happened to WASH?  The paper seemed like
> > it was full of interesting ideas, but the implementation seems to have
> > failed to capture many hearts.  Now it seems like a stagnant project.
> > What were the fatal flaws?
> >
> I got curious and made two pages point to each other, resulting in as
> many stale continuations as your left mouse button would permit. While
> the model certainly is cool, I'm not aware of any implementation that
> even comes close to having production-safe (that is, non-abusable)
> semantics.


Shouldn't the following WASH function help?

once :: (Read a, Show a) => CGI a -> CGI a


-- 
Sebastian Sylvan
+44(0)7857-300802
UIN: 44640862
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090211/9dd1370e/attachment.htm


More information about the Haskell-Cafe mailing list