[Haskell-cafe] Status of Haskell + Mac + GUIs & graphics

Andrew Butterfield andrew.butterfield at cs.tcd.ie
Wed May 18 10:18:42 CEST 2011


I have developed a GUI app using wxHaskell

I develop using GHCi - invaluable
  I can run the application once form GHCi, and then a re-run crashes, but
   - usually after a run there is enough time to re-start GHCi while I tihnk about what
    needs fixing next
  - usually I can still run tests and queries from GHCi afterwards...

This works because I develop in Windows using GHC 6.10.4 wxHaskell 0.11.1.2
 - I haven't upgraded because I believe the GHCi behaviour worsens on later versions of GHC
  (I'm open to correction on this)

- a student of mine has been able to build it on linux using the latest versions of everything
 - I had to revise some of my code simply because later GHC versions introduced new keywords

So - to summarise 
  If you are happy to develop using 6.10.4, on Windows then wxHaskell is workable with GHCi
  It seems to then build ok on Linux

 Alas - I have yet to be able to build it on Mac OS X (Snow Leopard)


The app ? - see http://www.scss.tcd.ie/Andrew.Butterfield/Saoithin/


On 18 May 2011, at 00:24, Conal Elliott wrote:

> I still haven't found any way to do GUIs or interactive graphics in Haskell on a Mac that isn't plagued one or more of the following serious problems:
> 
> * Incompatible with ghci, e.g., fails to make a window frame or kills the process the second time one opens a top-level window,
> * Goes through the X server, and so doesn't look or act like a Mac app,
> * Doesn't support OpenGL.
> 
> A year or two ago, I put my Haskell GUI & graphics work on hold while waiting & hoping for a functioning pathway to open. So far I haven't heard of one.
> 
> If anyone has found a solution, I'd love to hear!
> 
>   - Conal
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

--------------------------------------------------------------------
Andrew Butterfield     Tel: +353-1-896-2517     Fax: +353-1-677-2204
Foundations and Methods Research Group Director.
School of Computer Science and Statistics,
Room F.13, O'Reilly Institute, Trinity College, University of Dublin
                            http://www.cs.tcd.ie/Andrew.Butterfield/
--------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110518/923193b8/attachment.htm>


More information about the Haskell-Cafe mailing list