Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-30 Thread michael rice
Allbery KF8NH allber...@gmail.com Subject: Re: [Haskell-cafe] Code from Haskell School of Expression hanging. To: haskell-cafe@haskell.org Date: Sunday, January 30, 2011, 2:00 AM -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/29/11 21:27 , michael rice wrote: I'm using the OpenGL stuff (GLFW

Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-30 Thread JETkoten
...@gmail.com/* wrote: From: Brandon S Allbery KF8NH allber...@gmail.com Subject: Re: [Haskell-cafe] Code from Haskell School of Expression hanging. To: haskell-cafe@haskell.org Date: Sunday, January 30, 2011, 2:00 AM -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/29

Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-30 Thread michael rice
Thanks. I already found it, and there doesn't seem to be any support for Linux. Michael --- On Sun, 1/30/11, JETkoten jetko...@gmail.com wrote: From: JETkoten jetko...@gmail.com Subject: Re: [Haskell-cafe] Code from Haskell School of Expression hanging. To: haskell-cafe@haskell.org Date: Sunday

[Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-30 Thread jean legrand
Maybe you could try The HGL package http://hackage.haskell.org/package/HGL and then replace import SOE by import Graphics.SOE. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-30 Thread michael rice
. Loading package OpenGL-2.4.0.1 ... linking ... done. Loading package GLFW-0.4.2 ... linking ... done. Michael --- On Sun, 1/30/11, Paul L nine...@gmail.com wrote: From: Paul L nine...@gmail.com Subject: Re: [Haskell-cafe] Code from Haskell School of Expression hanging. To: michael rice nowg

Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-30 Thread Paul L
wrote: From: Daniel Fischer daniel.is.fisc...@googlemail.com Subject: Re: [Haskell-cafe] Code from Haskell School of Expression hanging. To: michael rice nowg...@yahoo.com Date: Saturday, January 29, 2011, 9:37 PM On Sunday 30 January 2011 03:27:55, michael rice wrote: I'm using the OpenGL

Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-30 Thread michael rice
of a 'do' expression:     openWindow   (Size 400 400) [DisplayStencilBits 8 DisplayAlphaBits 8] Window [michael@localhost ~]$ --- On Sun, 1/30/11, Paul L nine...@gmail.com wrote: From: Paul L nine...@gmail.com Subject: Re: [Haskell-cafe] Code from Haskell School of Expression hanging

Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-30 Thread Paul L
...@gmail.com* wrote: From: Paul L nine...@gmail.com Subject: Re: [Haskell-cafe] Code from Haskell School of Expression hanging. To: michael rice nowg...@yahoo.com Cc: haskell-cafe@haskell.org Date: Sunday, January 30, 2011, 1:57 PM Ok, in the GLFW sample program from Haskell Wiki, can you

Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-30 Thread michael rice
-cafe] Code from Haskell School of Expression hanging. To: michael rice nowg...@yahoo.com Cc: haskell-cafe@haskell.org Date: Sunday, January 30, 2011, 3:53 PM You missed the comma after the first 8. On Sun, Jan 30, 2011 at 12:15 PM, michael rice nowg...@yahoo.com wrote: The expression (the swapped

Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-30 Thread Paul L
the comma when I put it all on one line. Sorry. Yes, it compiles and runs, just like it did before. Michael --- On Sun, 1/30/11, Paul L nine...@gmail.com wrote: From: Paul L nine...@gmail.com Subject: Re: [Haskell-cafe] Code from Haskell School of Expression hanging. To: michael rice nowg

Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-30 Thread michael rice
...@gmail.com Subject: Re: [Haskell-cafe] Code from Haskell School of Expression hanging. To: michael rice nowg...@yahoo.com Cc: haskell-cafe@haskell.org Date: Sunday, January 30, 2011, 3:53 PM You missed the comma after the first 8. On Sun, Jan 30, 2011 at 12:15 PM, michael rice nowg...@yahoo.com

Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-30 Thread michael rice
   ( SimpleGraphics.lhs, SimpleGraphics.o ) [michael@localhost src]$ --- On Sun, 1/30/11, Paul L nine...@gmail.com wrote: From: Paul L nine...@gmail.com Subject: Re: [Haskell-cafe] Code from Haskell School of Expression hanging. To: michael rice nowg...@yahoo.com Cc: haskell-cafe@haskell.org Date: Sunday, January 30

Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-30 Thread michael rice
spaceClose w     --- On Sun, 1/30/11, Daniel Fischer daniel.is.fisc...@googlemail.com wrote: From: Daniel Fischer daniel.is.fisc...@googlemail.com Subject: Re: [Haskell-cafe] Code from Haskell School of Expression hanging. To: haskell-cafe@haskell.org, michael rice nowg...@yahoo.com Date: Sunday, January 30

Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-30 Thread Paul L
...@googlemail.com*wrote: From: Daniel Fischer daniel.is.fisc...@googlemail.com Subject: Re: [Haskell-cafe] Code from Haskell School of Expression hanging. To: haskell-cafe@haskell.org, michael rice nowg...@yahoo.com Date: Sunday, January 30, 2011, 6:48 PM On Monday 31 January 2011 00:27:41

Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-30 Thread Daniel Fischer
On Monday 31 January 2011 01:11:59, michael rice wrote: SimpleGraphics has a bunch of main programs: main0, main1, main2, main3, and main3book. I sequentially changed each to main and ran all five successfully. For future use, you can do that without changing the file in between, you can pass

Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-30 Thread michael rice
That worked, though not sure why I had to delete the .o file. On to ghci? Michael --- On Sun, 1/30/11, Paul L nine...@gmail.com wrote: From: Paul L nine...@gmail.com Subject: Re: [Haskell-cafe] Code from Haskell School of Expression hanging. To: michael rice nowg...@yahoo.com Cc: haskell-cafe

[Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-29 Thread michael rice
I got Hudak's Haskell School of Expression today and just tried a couple of the graphics programs from the software I downloaded at the book site. Both seem to hang on opening a window. Is there a fix for this problem? I'm on a Fedora 14 Linux (32-bit) box running GHC version 6.12.3. Michael

Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-29 Thread Daniel Fischer
On Sunday 30 January 2011 02:49:27, michael rice wrote: I got Hudak's Haskell School of Expression today and just tried a couple of the graphics programs from the software I downloaded at the book site. Both seem to hang on opening a window. Is there a fix for this problem? I'm on a Fedora 14

Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-29 Thread michael rice
I'm using the OpenGL stuff (GLFW). Same set of problems? Michael --- On Sat, 1/29/11, Daniel Fischer daniel.is.fisc...@googlemail.com wrote: From: Daniel Fischer daniel.is.fisc...@googlemail.com Subject: Re: [Haskell-cafe] Code from Haskell School of Expression hanging. To: haskell-cafe

Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-29 Thread michael rice
Fischer daniel.is.fisc...@googlemail.com Subject: Re: [Haskell-cafe] Code from Haskell School of Expression hanging. To: michael rice nowg...@yahoo.com Date: Saturday, January 29, 2011, 9:37 PM On Sunday 30 January 2011 03:27:55, michael rice wrote: I'm using the OpenGL stuff (GLFW). Same set

Re: [Haskell-cafe] Code from Haskell School of Expression hanging.

2011-01-29 Thread Brandon S Allbery KF8NH
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/29/11 21:27 , michael rice wrote: I'm using the OpenGL stuff (GLFW). Same set of problems? None of the lower level libraries support multithreading. If any of those libraries use FFI bindings that run in a bound thread, they'll fail in the