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

michael rice nowgate at yahoo.com
Sun Jan 30 17:34:02 CET 2011


Thanks. I already found it, and there doesn't seem to be any support for Linux.

Michael

--- On Sun, 1/30/11, JETkoten <jetkoten at gmail.com> wrote:

From: JETkoten <jetkoten 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, 11:22 AM



  

    
    
  I don't know about the rest of your question, but I've found that a
    lot of broken links on haskell.org can be fixed by inserting
    /haskellwiki/ between the .org/ and the term in the broken URL.
    Therefore, the link you were looking for is:

    

    http://www.haskell.org/haskellwiki/Gtk2Hs

    

    

    On 1/30/11 10:28 AM, michael rice wrote:
    
      
        
          
            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

              

              [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"

              Hugs> 

              

              

              --- 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

                

                -----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

                  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

                  -----BEGIN PGP SIGNATURE-----

                  Version: GnuPG v1.4.11 (Darwin)

                  Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

                  

iEYEARECAAYFAk1FDIkACgkQIn7hlCsL25V6twCgn5JcK8Y0yerY5EkiyJyULOeM

                  6sYAoLkj8JS/CfquHfHCzl3DbGPKAhgo

                  =Ybo6

                  -----END PGP SIGNATURE-----

                  

                  _______________________________________________

                  Haskell-Cafe mailing list

                  Haskell-Cafe at haskell.org

                  http://www.haskell.org/mailman/listinfo/haskell-cafe

                
              
            
          
        
      
      

      
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe at haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

    
  

-----Inline Attachment Follows-----

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe at haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe



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


More information about the Haskell-Cafe mailing list