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

2009-02-14 Thread wren ng thornton
Chung-chieh Shan wrote: 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

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

2009-02-12 Thread Cristiano Paris
On Wed, Feb 11, 2009 at 6:41 PM, Achim Schneider bars...@web.de wrote: ... 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

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

2009-02-12 Thread Chung-chieh Shan
wren ng thornton w...@freegeek.org wrote in article 4993bbee.9070...@freegeek.org in gmane.comp.lang.haskell.cafe: 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.

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

2009-02-12 Thread Derek Elkins
On Thu, 2009-02-12 at 19:55 -0500, Chung-chieh Shan wrote: wren ng thornton w...@freegeek.org wrote in article 4993bbee.9070...@freegeek.org in gmane.comp.lang.haskell.cafe: It's ugly, but one option is to just reify your continuations as an ADT, where there are constructors for each

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

2009-02-11 Thread Achim Schneider
Evan Laforge qdun...@gmail.com 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] Re: Can this be done?

2009-02-11 Thread Sebastian Sylvan
On Wed, Feb 11, 2009 at 5:41 PM, Achim Schneider bars...@web.de wrote: Evan Laforge qdun...@gmail.com 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

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

2009-02-11 Thread Achim Schneider
Sebastian Sylvan syl...@student.chalmers.se wrote: On Wed, Feb 11, 2009 at 5:41 PM, Achim Schneider bars...@web.de wrote: 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