[Haskell-cafe] Call for GUI examples - Functional Reactive Programming

Chris Smith cdsmith at gmail.com
Fri Jul 8 15:43:28 CEST 2011


On Fri, 2011-07-08 at 08:08 +0200, Heinrich Apfelmus wrote:
> Do you know any *small GUI programs* that you would *like* to see 
> *implemented with Functional Reactive Programming?*

This isn't really a specific application, but what I'd like to see most
from FRP is an example of something that involves moving between windows
and dialog boxes.  All of the GUI-based FRP examples I've seen so far
involve interactions in a specific GUI layout.  It's unclear to me how
FRP extends into a situation like:

- There's a starting window showing several options for what to do
- When the user chooses an option, that window closes, and a new one
opens with that activity.
- In response to some actions, dialog boxes appear with their own
interactions.

It's not clear to me if anyone in FRP has an idea of how stuff like this
fits in.  Is there some FRP trick to handle this declaratively?  Or
would you just say each move to a new window ends or pauses one network
of events and behaviors, and starts a new one?

-- 
Chris Smith





More information about the Haskell-Cafe mailing list