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

2009-10-01 Thread Alberto G. Corona
You can do it almost transparently with the Workflow package:: http://hackage.haskell.org/package/Workflow 2009/2/11 Cristiano Paris cristiano.pa...@gmail.com On Wed, Feb 11, 2009 at 2:30 PM, Peter Verswyvelen bugf...@gmail.com wrote: I haven't looked at the details, but I think this is

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

2009-10-01 Thread Tim Wawrzynczak
I was poking around once trying to find something like that and stumbled across this: http://wiki.cs.pdx.edu/forge/riviera.html Cheers, Tim On Wed, Feb 11, 2009 at 8:22 AM, Cristiano Paris cristiano.pa...@gmail.comwrote: I wonder whether this can be done in Haskell (see muleherd's comment):

[Haskell-cafe] Can this be done?

2009-02-11 Thread Cristiano Paris
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/ Cristiano ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

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

2009-02-11 Thread Peter Verswyvelen
I haven't looked at the details, but I think this is what a library like Reactive from Conal Elliott could do, but as far as I understand it, it is still work in progress. On Wed, Feb 11, 2009 at 2:22 PM, Cristiano Paris cristiano.pa...@gmail.comwrote: I wonder whether this can be done in

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

2009-02-11 Thread Alistair Bayley
2009/2/11 Cristiano Paris cristiano.pa...@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

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

2009-02-11 Thread Cristiano Paris
On Wed, Feb 11, 2009 at 2:30 PM, Peter Verswyvelen bugf...@gmail.com wrote: I haven't looked at the details, but I think this is what a library like Reactive from Conal Elliott could do, but as far as I understand it, it is still work in progress. I'm interested in the possibility of

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

2009-02-11 Thread Evan Laforge
On Wed, Feb 11, 2009 at 9:34 PM, Alistair Bayley alist...@abayley.org wrote: 2009/2/11 Cristiano Paris cristiano.pa...@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/

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

2009-02-11 Thread Sebastian Sylvan
On Wed, Feb 11, 2009 at 1:41 PM, Cristiano Paris cristiano.pa...@gmail.comwrote: On Wed, Feb 11, 2009 at 2:30 PM, Peter Verswyvelen bugf...@gmail.com wrote: I haven't looked at the details, but I think this is what a library like Reactive from Conal Elliott could do, but as far as I

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

2009-02-11 Thread Cristiano Paris
On Wed, Feb 11, 2009 at 2:53 PM, Sebastian Sylvan syl...@student.chalmers.se wrote: I think that would be difficult. You could probably store the continuation in a server-side cache if you aren't doing CGI but have a persistent server process, but eventually you'll need to discard unused

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

2009-02-11 Thread John Goerzen
On Wed, Feb 11, 2009 at 09:43:34PM +0800, Evan Laforge wrote: On Wed, Feb 11, 2009 at 9:34 PM, Alistair Bayley alist...@abayley.org wrote: 2009/2/11 Cristiano Paris cristiano.pa...@gmail.com: I wonder whether this can be done in Haskell (see muleherd's comment):

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

2009-02-11 Thread Manlio Perillo
Cristiano Paris ha scritto: On Wed, Feb 11, 2009 at 2:30 PM, Peter Verswyvelen bugf...@gmail.com wrote: I haven't looked at the details, but I think this is what a library like Reactive from Conal Elliott could do, but as far as I understand it, it is still work in progress. I'm interested in

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

2009-02-11 Thread Cristiano Paris
On Wed, Feb 11, 2009 at 4:08 PM, Manlio Perillo manlio_peri...@libero.it wrote: Cristiano Paris ha scritto: On Wed, Feb 11, 2009 at 2:30 PM, Peter Verswyvelen bugf...@gmail.com wrote: I haven't looked at the details, but I think this is what a library like Reactive from Conal Elliott could

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

2009-02-11 Thread Manlio Perillo
John Goerzen ha scritto: [...] There were also issues with people using the back button. It reminded me a fair bit of the issues I ran into when using Python's Twisted framework, actually. Same experience, with Twisted Web + Nevow. All solved after switching to WSGI and a simple WSGI

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

2009-02-11 Thread Manlio Perillo
Manlio Perillo ha scritto: The only thing I miss is a little higher level of abstraction. Right now I operate on request bodies (in a text format, usually request body should be replaced with response body Manlio ___ Haskell-Cafe mailing list

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

2009-02-11 Thread Mark Wotton
On Thu, Feb 12, 2009 at 12:41 AM, Cristiano Paris cristiano.pa...@gmail.com wrote: On Wed, Feb 11, 2009 at 2:30 PM, Peter Verswyvelen bugf...@gmail.com wrote: I haven't looked at the details, but I think this is what a library like Reactive from Conal Elliott could do, but as far as I

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

2009-02-11 Thread wren ng thornton
Cristiano Paris wrote: Manlio Perillo wrote: Cristiano Paris ha scritto: I'm interested in the possibility of stopping/pickling/unpickling/resuming a computation. Not sure this is a good thing in a web application. I'm thinking of complex workflows and inversion of control. A

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

2009-02-11 Thread Brandon S. Allbery KF8NH
On 2009 Feb 12, at 1:04, wren ng thornton wrote: It's ugly, but one option is to just reify your continuations as an ADT, where there are constructors for each function and fields for each variable that needs closing over. Serializing that ADT should be simple (unless some of those