Ross Paterson wrote:
> On Mon, May 26, 2003 at 09:08:24AM -0700, Sven Panne wrote:
>
>>  [...]
>>  NOTE: Control.Exception.finally is used now, which is marked as
>>  non-portable, but GHC, Hugs, and nhc98 all support Control.Exception,
>>  so this should probably be marked as portable nowadays...
>
> Are you sure about nhc98?

Hmmm, not so sure anymore... I only had a quick look at the source tar
file for nhc98-1.16, and Control.Exception is there. But in the binary
distribution it's not. So I guess I have to use some #ifdefs in my
code for nhc98.  >:-(

This whole situation is a bit ugly: HOpenGL itself does *not* use
non-portable stuff like asynchronous exceptions, but wants to be
correct in case they are supported ('finally' and friends). I'm not
sure what the best solution is. Should nhc98 "support" this stuff?
Functions like 'finally', 'block', 'bracket', etc. are essentially
no-ops when there are no asynchronous exceptions.

Cheers,
   S.


_______________________________________________ Cvs-libraries mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to