
Hi, I've been trying to find out what is the best GUI library to use for a Haskell beginner. At first I adopted gtk2hs and it was going well. But the web page for it has disappeared during the Haskell site migration. So now I don't have access to the documentation and the examples any more. Next I tried with wxHaskell, but unfortunately it doesn't install on Ubuntu (I checked on the mailing list: other people had the same problem and I don't understand the solution). Is there a library for GUI in Haskell that is simple to use and well supported, something that is user friendly for a beginner Haskell programmer? Best wishes, Venanzio

Hi Venanzio,
I found the following sites very helpful when trying to understand
OpenGL + Haskell.
- http://blog.mikael.johanssons.org/archive/2006/09/opengl-programming-in-hask...
- http://myawesomeblag.blogspot.com/2007/03/opengl-tetris-in-haskell.html
My site contains the commands I used to get everything install on
Ubuntu, it also has a link to my code on it, but you'll find that the
code is very similar to Mikael's above.
http://whatimean.wordpress.com/2010/10/19/simple-cell-automata-in-haskell/
Good luck.
Tom
On Tue, Dec 14, 2010 at 9:16 AM, Venanzio Capretta
Hi, I've been trying to find out what is the best GUI library to use for a Haskell beginner. At first I adopted gtk2hs and it was going well. But the web page for it has disappeared during the Haskell site migration. So now I don't have access to the documentation and the examples any more. Next I tried with wxHaskell, but unfortunately it doesn't install on Ubuntu (I checked on the mailing list: other people had the same problem and I don't understand the solution). Is there a library for GUI in Haskell that is simple to use and well supported, something that is user friendly for a beginner Haskell programmer? Best wishes, Venanzio
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners

But OpenGL is not really a GUI library, is it? I think gtk2hs is usually recommended. I've never used it personally but have heard good things from those who have. Hopefully the web page will be back up soon. -Brent On Tue, Dec 14, 2010 at 09:55:45AM +0000, Tom Hobbs wrote:
Hi Venanzio,
I found the following sites very helpful when trying to understand OpenGL + Haskell.
- http://blog.mikael.johanssons.org/archive/2006/09/opengl-programming-in-hask... - http://myawesomeblag.blogspot.com/2007/03/opengl-tetris-in-haskell.html
My site contains the commands I used to get everything install on Ubuntu, it also has a link to my code on it, but you'll find that the code is very similar to Mikael's above.
http://whatimean.wordpress.com/2010/10/19/simple-cell-automata-in-haskell/
Good luck.
Tom
On Tue, Dec 14, 2010 at 9:16 AM, Venanzio Capretta
wrote: Hi, I've been trying to find out what is the best GUI library to use for a Haskell beginner. At first I adopted gtk2hs and it was going well. But the web page for it has disappeared during the Haskell site migration. So now I don't have access to the documentation and the examples any more. Next I tried with wxHaskell, but unfortunately it doesn't install on Ubuntu (I checked on the mailing list: other people had the same problem and I don't understand the solution). Is there a library for GUI in Haskell that is simple to use and well supported, something that is user friendly for a beginner Haskell programmer? Best wishes, Venanzio
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners

The articles are actually using HOpenGL and HGlut.
Whether they satisfy the definition of "GUI library" or not, I don't
know. I assumed they did. Sorry.
On Tue, Dec 14, 2010 at 2:38 PM, Brent Yorgey
But OpenGL is not really a GUI library, is it? I think gtk2hs is usually recommended. I've never used it personally but have heard good things from those who have. Hopefully the web page will be back up soon.
-Brent
On Tue, Dec 14, 2010 at 09:55:45AM +0000, Tom Hobbs wrote:
Hi Venanzio,
I found the following sites very helpful when trying to understand OpenGL + Haskell.
- http://blog.mikael.johanssons.org/archive/2006/09/opengl-programming-in-hask... - http://myawesomeblag.blogspot.com/2007/03/opengl-tetris-in-haskell.html
My site contains the commands I used to get everything install on Ubuntu, it also has a link to my code on it, but you'll find that the code is very similar to Mikael's above.
http://whatimean.wordpress.com/2010/10/19/simple-cell-automata-in-haskell/
Good luck.
Tom
On Tue, Dec 14, 2010 at 9:16 AM, Venanzio Capretta
wrote: Hi, I've been trying to find out what is the best GUI library to use for a Haskell beginner. At first I adopted gtk2hs and it was going well. But the web page for it has disappeared during the Haskell site migration. So now I don't have access to the documentation and the examples any more. Next I tried with wxHaskell, but unfortunately it doesn't install on Ubuntu (I checked on the mailing list: other people had the same problem and I don't understand the solution). Is there a library for GUI in Haskell that is simple to use and well supported, something that is user friendly for a beginner Haskell programmer? Best wishes, Venanzio
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners

From an ease-of-installation and getting-demos-to-work standpoint, I've had the best time with qtHaskell [1].
-deech
[1] http://qthaskell.berlios.de/
On Tue, Dec 14, 2010 at 8:38 AM, Brent Yorgey
But OpenGL is not really a GUI library, is it? I think gtk2hs is usually recommended. I've never used it personally but have heard good things from those who have. Hopefully the web page will be back up soon.
-Brent
On Tue, Dec 14, 2010 at 09:55:45AM +0000, Tom Hobbs wrote:
Hi Venanzio,
I found the following sites very helpful when trying to understand OpenGL + Haskell.
- http://blog.mikael.johanssons.org/archive/2006/09/opengl-programming-in-hask... - http://myawesomeblag.blogspot.com/2007/03/opengl-tetris-in-haskell.html
My site contains the commands I used to get everything install on Ubuntu, it also has a link to my code on it, but you'll find that the code is very similar to Mikael's above.
http://whatimean.wordpress.com/2010/10/19/simple-cell-automata-in-haskell/
Good luck.
Tom
On Tue, Dec 14, 2010 at 9:16 AM, Venanzio Capretta
wrote: Hi, I've been trying to find out what is the best GUI library to use for a Haskell beginner. At first I adopted gtk2hs and it was going well. But the web page for it has disappeared during the Haskell site migration. So now I don't have access to the documentation and the examples any more. Next I tried with wxHaskell, but unfortunately it doesn't install on Ubuntu (I checked on the mailing list: other people had the same problem and I don't understand the solution). Is there a library for GUI in Haskell that is simple to use and well supported, something that is user friendly for a beginner Haskell programmer? Best wishes, Venanzio
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners

On 14/12/2010 16:53, aditya siram wrote:
From an ease-of-installation and getting-demos-to-work standpoint, I've had the best time with qtHaskell [1].
-deech
I've had by far the worst time with qtHaskell, but that may be a platform issue (I'm on Windows) I've found building WxHaskell to be a little easier than Gtk+

On Tue, 14 Dec 2010 10:16:40 +0100, Venanzio Capretta
Next I tried with wxHaskell, but unfortunately it doesn't install on Ubuntu (I checked on the mailing list: other people had the same problem and I don't understand the solution).
To get wxHaskell working on Ubuntu (and probably on most other platforms), you need to install the g++ compiler, see: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-4.5.1/ I guess you need the file gcc-g++-4.5.1.tar.gz Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html --

On Tue, 14 Dec 2010 16:26:56 +0100, Henk-Jan van Tuyl
On Tue, 14 Dec 2010 10:16:40 +0100, Venanzio Capretta
wrote: Next I tried with wxHaskell, but unfortunately it doesn't install on Ubuntu (I checked on the mailing list: other people had the same problem and I don't understand the solution).
To get wxHaskell working on Ubuntu (and probably on most other platforms), you need to install the g++ compiler, see: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-4.5.1/
I guess you need the file gcc-g++-4.5.1.tar.gz
Regards, Henk-Jan van Tuyl
It is probably better to give the command: sudo apt-get install g++ I updated the page http://www.haskell.org/haskellwiki/WxHaskell/Linux Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html --
participants (6)
-
aditya siram
-
Brent Yorgey
-
Henk-Jan van Tuyl
-
John Smith
-
Tom Hobbs
-
Venanzio Capretta