[reactive] Composable adapters and multiple event sources

Conal Elliott conal at conal.net
Mon Nov 10 13:35:24 EST 2008

Hi Pierre,

1. I'm starting to work on a Reactive/wxHaskell for use with Phooey, GuiTV,
and Eros.  I'd love to see a gtk2hs adapter available, and I imagine it
would be done similarly to wxHaskell's.

2. The whole adapter interface is very recent and will likely evolve.  I'm a
big fan of compositionality, so composing adapters interests me.

Regards, - Conal

On Mon, Nov 10, 2008 at 10:04 AM, pierre <k.pierre.k at gmail.com> wrote:

> Hello,
> I'm trying to write simple GTK2hs adapter using new reactive library.
> However, I've ran into some issues there:
> 1. All of the adapters i've seen come with static "primitive signals",
> like FRP.Reactive.GLUT.Adapter.UI. But this doesn't seem to be
> applicable to UIs like "UI loaded from glade file" because it's
> impossible to create all signals in advance -- you should be able to
> create them with functions like:
> mkButton :: Glade -> String -> IO (Event ())
> but that doesn't seem to fit well into FRP.Reactive.LegacyAdapters
> interface.
> 2. Is stacking of multiple adapters possible? In my view it's
> essential feature for many applications, GUI network clients, for example.
> Best wishes and thanks in advance,
> --
> pierre
> _______________________________________________
> Reactive mailing list
> Reactive at haskell.org
> http://www.haskell.org/mailman/listinfo/reactive
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/reactive/attachments/20081110/7be16404/attachment.htm

More information about the Reactive mailing list