[Haskell-cafe] I'm trying to design a GUI library -- a design question

Daniel Trstenjak daniel.trstenjak at gmail.com
Mon Mar 3 10:14:41 UTC 2014


Hi Ömer,

I don't think that you need the 'HasWidgets' class, it really doesn't give you a lot.
Something like a function 'withFocused' would be a lot more useful:

   withFocused :: (Widget -> Widget) -> State Program ()


Greetings,
Daniel


More information about the Haskell-Cafe mailing list