[reactive] Composable adapters and multiple event sources
k.pierre.k at gmail.com
Mon Nov 10 13:04:14 EST 2008
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,
More information about the Reactive