[Haskell-cafe] Re: FRP for game programming / artifical life simulation

Ben midfield at gmail.com
Wed Apr 28 10:33:16 EDT 2010

I want to save the state of the system to disk, I want to be able to
play the game, pick a point to stop, freeze it and turn off the
computer, and then come back later and resume.  Why is that unwise?
What are the alternatives?


On Tue, Apr 27, 2010 at 9:28 PM, Christopher Lane Hinson
<lane at downstairspeople.org> wrote:
> I'm not sure exactly what you want to do.  It should certainly be easy to
> "freeze" an FRP program by lying about the amount of time that is passing
> and witholding all events.  Do you want to save an FRP system instance to
> disk (generally unwise), or something else (what?).
> Friendly,
> --Lane
> On Tue, 27 Apr 2010, Ben wrote:
>> slightly off topic, but how does one handle pausing / saving /
>> restarting in the FRP framework, especially the arrowized version?
>> i've only been able to do this via explicit (or monadic)
>> state-passing, e.g. imperative / piecemeal versus declarative /
>> wholemeal, which seems against the spirit of FRP.
>> b
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list