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

michael rice nowgate at yahoo.com
Sun Jan 30 16:28:24 CET 2011

OK, what about Hugs? I used Cabal to download the GLFW package to GHC. Must I do the same from Hugs? Or is this also a fools mission?

From: http://plucky.cs.yale.edu/soe/software1.htm

"follow the installation instructions for Gtk2Hs at

http://www.haskell.org/gtk2hs, then import the module Graphics.SOE.Gtk 
instead of SOE.hs in your code."

That link appears to be broken.

What must I do?  Or am I at a dead end?


[michael at localhost ~]$ cd ./SOE/SOE/src
[michael at localhost src]$ hugs
__   __ __  __  ____   ___      _________________________________________
||   || ||  || ||  || ||__      Hugs 98: Based on the Haskell 98 standard
||___|| ||__|| ||__||  __||     Copyright (c) 1994-2005
||---||         ___||           World Wide Web: http://haskell.org/hugs
||   ||                         Bugs: http://hackage.haskell.org/trac/hugs
||   || Version: September 2006 _________________________________________

Haskell 98 mode: Restart with command line option -98 to enable extensions

Type :? for help
Hugs> :l Snowflake.lhs
ERROR "./SOE.hs" - Can't find imported module "Graphics.UI.GLFW"

--- On Sun, 1/30/11, Brandon S Allbery KF8NH <allbery.b at gmail.com> wrote:

From: Brandon S Allbery KF8NH <allbery.b at gmail.com>
Subject: Re: [Haskell-cafe] Code from Haskell School of Expression hanging.
To: haskell-cafe at haskell.org
Date: Sunday, January 30, 2011, 2:00 AM

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
threaded runtime.  gtk2hs was modified to allow ghci to work, IIRC.

- -- 
brandon s. allbery     [linux,solaris,freebsd,perl]      allbery at kf8nh.com
system administrator  [openafs,heimdal,too many hats]  allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university      KF8NH
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


Haskell-Cafe mailing list
Haskell-Cafe at haskell.org

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

More information about the Haskell-Cafe mailing list