Hi Conal,

I recently switched my app from Haskell to Smalltalk because I was 
unable to code interdependent widgets with wxHaskell, ie. a bunch of 
dropdowns where changing the value of one needs to change the set of 
elements available in others.

Well I was unable to code this in Haskell without using tons of either 
MVars or IORefs.

If you know of a way or an example to do this in wxHaskell I'd certainly 
appreciate it if you'd share it with us.

The plain business logic of the app was so simple to code in haskell it 
was a pleasure. But I could not code the GUI part in wxHaskell, I just 
wouldn't know how and neither in gtk2hs for that matter.

I also had the impression that the higher level projects in the GUI or 
FRP department are all started and then gotten stuck and abandoned, it 
seems to be an unsolved issue, please correct me if I'm wrong.

Günther




Am 23.01.10 02:15, schrieb Conal Elliott:
> Hi Gour,
>
> I've worked with both wxhaskell and gtk2hs.  I prefer wxhaskell for
> elegant design.  And I like that it gives me a native Mac OS X look.
> There is a partially working native Gtk for Mac, but I don't think it
> works with 3D, which was a requirement for me.  The X11 mode is painful
> & ugly, and awfully disappointing considering how much more expensive a
> Mac is than a Linux machine.
>
> In spite of these reasons, I'm using gtk2hs for the time being, because
> wxhaskell has a problem that makes it very unfriendly to ghci.  The
> second attempt to display a GUI kills its host process.  This behavior
> is okay for many (but not all) compiled programs, but is a killer for
> interactive/exploratory development.  As soon as I hear that this
> problem is fixed, I'll very happily return to wxhaskell.
>
> Longer term, I want Haskell GUI programming to move away from these
> massively complex OO imperative frameworks to something much more
> elegant and harmonious with the spirit and benefits of pure
> functional/denotative programming.
>
> Regards,  - Conal
>
> On Tue, Jan 19, 2010 at 1:59 AM, Gour
> <g...@gour-nitai.com
> <mailto:g...@gour-nitai.com>> wrote:
>



------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

Reply via email to