I'm experimenting with wxHaskell, and I've got something like:
main = run mainFrame
mainFrame = do -- main application frame
...
cbEdit - checkBox p1 [text := Edit Mode, on command ::=
onCbEdit textlog]
...
where
...
It would be useful to have some convenience function,
Actually, I can see how my requirement of not wanting to pass in cbEdit
might not be so good. From an FP point of view, that's just asking for
trouble. A better solution would appear to be to put the cbEdit in as a
parameter, and just face the fact that all callers will be required to
pass an
Re: [Haskell-cafe] wxHaskell: convenience functions
Actually, I can see how my requirement of not wanting to pass in cbEdit
might not be so good. From an FP point of view, that's just asking for
trouble. A better solution would appear to be to put the cbEdit in as a
parameter, and just face
On Fri, Sep 16, 2005 at 06:30:54PM +0100, Mark Carter wrote:
Actually, I can see how my requirement of not wanting to pass in cbEdit
might not be so good. From an FP point of view, that's just asking for
trouble. A better solution would appear to be to put the cbEdit in as a
parameter, and