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

Daniel Fischer daniel.is.fischer at googlemail.com
Sun Jan 30 03:11:33 CET 2011


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 Linux (32-bit) box running GHC version
> 6.12.3.

It might be that you need to compile the code. And even then, perhaps it 
doesn't run correctly in ghci, iirc, gtk2hs used to not run in ghci (some 
threading issues, I'm not sure whether they've been resolved), maybe the 
graphics library used by HSOE has similar issues. Try and hope for the 
best.



More information about the Haskell-Cafe mailing list