<br><br><div class="gmail_quote">2009/3/21 Adrian Neumann <span dir="ltr">&lt;<a href="mailto:aneumann@inf.fu-berlin.de">aneumann@inf.fu-berlin.de</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Am 21.03.2009 um 13:30 schrieb Michael Mossey:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
Thomas Davie wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 21 Mar 2009, at 00:16, Michael P Mossey wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello, I&#39;m totally new to Haskell. I&#39;m thinking of using it for a personal project, which is a gui-based musical score editor.<br>
</blockquote>
The rough situation of GUI programming on Haskell is that it works just as well as in any imperative programming language.  This is rather disappointing, simply because so many other things are massively easier in Haskell, and this isn&#39;t true of GUI programming (yet).<br>

</blockquote>
<br>
Hi Bob,<br>
<br>
I can imagine that GUI programming is no easier (yet). It is inherently very &quot;stateful.&quot; GUI&#39;s have modes, such as which screens are displayed, which dialogs are displayed, which options within those dialogs are valid given the other state of the program, etc. When I write GUIs, I often diagram them as state machines to get a handle on what&#39;s going on.<br>

<br>
So, I&#39;m not familiar with GUI programming on Haskell, but would you say the statefulness of GUIs (in their typical implementations) is the reason they are no easier on Haskell?<br>
<br>
I strongly prefer to use qtHaskell because I&#39;m familiar with Qt, and Qt is extremely capable. For example, it can draw text and shapes with antialiasing, which will be great for a music score editor. Music scores have lots of small shapes to fit on the screen, and antialiasing will provide ease of reading. I don&#39;t know how much of Qt is implemented in qtHaskell, or whether the latest version of Qt (4.4) is implemented.<br>

<br>
Thanks,<br>
Mike<br>
</blockquote>
<br>
The main problem is, as far as I know, the complete lack of any usable GUI designer. You have to type everything yourself. That&#39;s very annoying. It&#39;s a lot easier in other languages because your tools take away the cumbersome twiddling with widgets.</blockquote>
<div><br></div><div><a href="http://en.wikipedia.org/wiki/Glade_Interface_Designer">http://en.wikipedia.org/wiki/Glade_Interface_Designer</a></div><div><br></div><div> </div></div><br clear="all"><br>-- <br>Sebastian Sylvan<br>
+44(0)7857-300802<br>UIN: 44640862<br>