On 29/12/06, Paul Moore <[EMAIL PROTECTED]> wrote:
I looked at wxHaskell for inspiration - its approach (button f [text
:= "Quit", on command := close f]) looks quite readable, but slightly
unusual (to me) for Haskell. It also seems fairly complex to implement
(ie, my head hurt when I tried to follow the types involved, but maybe
that's just because it's getting late :-))

I forgot one - it's extensible, so if you want to add extra parameters
you don't need to change the type of the function, and you don't need
to change every single call site either.

--
-David House, [EMAIL PROTECTED]
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to