Hello Felipe,

Thursday, June 24, 2010, 5:00:55 AM, you wrote:

>> Is that something that MonadFix is meant to be used for?

> In current Gtk libraries, no.  You'll do something like
> However, if some library required you to supply the action while
> constructing the button, then I guess the answer would be "yes".

he may have his own high-level abstractions that combine create and
connect, in this case the answer is yes:

rdo btn1 <- createAndConnectBtn btn2
    btn2 <- createAndConnectBtn btn3
    btn3 <- createAndConnectBtn btn1


-- 
Best regards,
 Bulat                            mailto:bulat.zigans...@gmail.com

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to