On Wed, Feb 11, 2009 at 5:41 PM, Achim Schneider <barsoap@web.de> wrote:
Evan Laforge <qdunkan@gmail.com> wrote:

> On Wed, Feb 11, 2009 at 9:34 PM, Alistair Bayley
> <alistair@abayley.org> wrote:
> > 2009/2/11 Cristiano Paris <cristiano.paris@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