On Tue, Nov 11, 2008 at 11:26 AM, pierre <k.pierre.k@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