[reactive] Composable adapters and multiple event sources
David Sankel
camior at gmail.com
Thu Nov 13 14:44:47 EST 2008
On Tue, Nov 11, 2008 at 11:26 AM, pierre <k.pierre.k at gmail.com> wrote:
> On Mon, Nov 10, 2008 at 05:55:45PM -0500, David Sankel wrote:
> >
> > Hrm, I'm having trouble understanding the situation here. What would the
> > context around mkButton look like? Are you looking for something like the
> > following?
> >
> > data WidgetHeiarchy = Button Identifier (Event ())
> > | Frame Identifyer [WidgetHeiarchy]
> > | ...
> >
> > data WidgetHeiarchyStates = SButton Color
> > | ...
> >
> > adapt :: Glade -> (WidgetHeiarchy -> Behavior WidgetHeiarchyStates ) ->
> IO()
>
> Wouldn't enomous size of WidgetHeiarchy and WidgetHeiarchyStates be
> problematic?
Is it just as enormous, asymptotically, on the C side of things? (sorry for
the double send)
--
David Sankel
Sankel Software
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/reactive/attachments/20081113/eaa848b1/attachment.htm
More information about the Reactive
mailing list