[Haskell-cafe] Any recommendations on how to interact with the running state of a program?
aeyakovenko at gmail.com
Fri May 29 01:48:16 UTC 2015
But the ChangeHandler would still be modifying some mutable state that some
other thread is referencing while it's running. That would still be via an
I guess this is a similar problem as having a play/pause/skip controls to a
video player. Is the interface between the "running" thread and the user
triggered events an IORef? Or is there some other way to wrap that.
On Thu, May 28, 2015 at 6:32 PM Charlie Durham <cpdurham at gmail.com> wrote:
> Check out the configurator package:
> It has auto reloading of config files through the aptly named autoReload
> function. Pretty cool stuff.
> On Thu, May 28, 2015 at 9:21 PM, Anatoly Yakovenko <aeyakovenko at gmail.com>
>> How would the program get updated values? via an IORef? This thing is
>> running until the user decides the output looks good
>> On Thu, May 28, 2015 at 12:16 PM Carlos López-Camey <c.lopez at kmels.net>
>>> Cloud Haskell + Event streaming via some Protocol (like json on
>>> websockets) ?
>>> 2015-05-25 15:14 GMT-06:00 Anatoly Yakovenko <aeyakovenko at gmail.com>:
>>>> I am playing around with some deep learning algorithms and I need a way
>>>> to periodically read the intermediate result and change some of the system
>>>> Any ideas on how to best approach this problem? I was thinking of
>>>> something basic, like having the program periodically read and write from
>>>> some files.
>>>> Haskell-Cafe mailing list
>>>> Haskell-Cafe at haskell.org
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe