[Haskell-cafe] Interactive OpenGL-based graphics and ghci?

2010-11-20 Thread Conal Elliott
I'm trying to find some way to do interactive, OpenGL-based graphics in
Haskell on Mac OS X.
Does anyone here use GLUT or SDL on Mac OS X with ghci, or maybe an
alternative library?
Using ghci is very important to me, as my programs are pretty high-level and
are often half-liners.
I'm using gtk2hs for now, but I want something that works more natively,
i.e., without the awkwardness of going through the X server.

Thanks,  - Conal
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Interactive OpenGL-based graphics and ghci?

2010-11-20 Thread Luke Palmer
On Sat, Nov 20, 2010 at 4:46 PM, Conal Elliott co...@conal.net wrote:
 I'm trying to find some way to do interactive, OpenGL-based graphics in
 Haskell on Mac OS X.
 Does anyone here use GLUT or SDL on Mac OS X with ghci, or maybe an
 alternative library?

I was reading the GHC 7 release notes and saw this:

* There is a new -fno-ghci-sandbox flag, which stops GHCi running
computations in a separate thread; in particular, this works around an
issue running GLUT from GHCi on OS X

So that seems to indicate that GLUT would fulfill your needs.

Luke
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Interactive OpenGL-based graphics and ghci?

2010-11-20 Thread Lyndon Maydwell
I've always had issues with GLUT under ghci. If GHC 7 fixes this it
will make me happy :)

On Sun, Nov 21, 2010 at 7:54 AM, Luke Palmer lrpal...@gmail.com wrote:
 On Sat, Nov 20, 2010 at 4:46 PM, Conal Elliott co...@conal.net wrote:
 I'm trying to find some way to do interactive, OpenGL-based graphics in
 Haskell on Mac OS X.
 Does anyone here use GLUT or SDL on Mac OS X with ghci, or maybe an
 alternative library?

 I was reading the GHC 7 release notes and saw this:

 * There is a new -fno-ghci-sandbox flag, which stops GHCi running
 computations in a separate thread; in particular, this works around an
 issue running GLUT from GHCi on OS X

 So that seems to indicate that GLUT would fulfill your needs.

 Luke
 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe