Re: Running a final finaliser

2004-01-06 Thread Adrian Hey
On Monday 05 Jan 2004 3:14 pm, Simon Marlow wrote: The other complication I can see is that ForeignPtr finalisers can't be Haskell. So I have to call the Haskell finalisation from C. Is that safe? I'm afraid I still don't fully understand why Haskell finalisers are unsafe or why (if)

Re: Running a final finaliser

2004-01-06 Thread Adrian Hey
Hello, Thanks for that explanation, I see the problem now. Though to be honest, I'm not convinced that the situation for Haskell implementations which don't implement pre-emptive concurrency need be as bad as you suggest. But that's probably presumptious of me seeing as I know little about the

Re: Fail: unknown exception

2004-01-06 Thread George Russell
Simon Marlow wrote: This has to be one of the most irritating ways a program can fall over. Can't the Haskell RTS try just a /little/ harder to help the poor programmer? For example by saying what sort of exception it is, and (if it's a dynamic exception) what type it has? An unknown

Compiling HOpenGL Examples with GHC 6.2 Mac OS

2004-01-06 Thread Hans Nikolaus Beck
Hi, as far as I understand now, for my compiliing problem (see last past with same subject) I must do ghc -package OpenGL -package GLUT --make Cube.hs and in the code doing import OpenGL import GLUT Right so far ? But it seems that the package description in the GHC 6.2 distribution is not