On Sun, Mar 17, 2013 at 7:58 PM, Jason Dagit <dagitj@gmail.com> wrote:
On Sat, Mar 16, 2013 at 6:53 PM, Jesper Särnesjö <sarnesjo@gmail.com> wrote: 
To be clear, I think this isn't really an OpenGL problem, but rather
one related to FFI or event handling. If anyone could explain to me,The release notes for 7.0.1 said this about that flag:
There is a new -fno-ghci-sandbox flag, which stops GHCi running computations in a separate thread. In particular, this is useful for GLUT on OS X, which only works if being run on the main thread.

Worth noting is that Jesper said it *works* in ghci, and fails when compiled....

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net