cvs commit: fptools/libraries/OpenGL/Graphics/Rendering/OpenGL/GL Extensions.hs

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Tue Jun 15 08:17:57 EDT 2004


Sven Panne <panne at glass.cse.ogi.edu> writes:

>   Modified files:
>     libraries/OpenGL/Graphics/Rendering/OpenGL/GL Extensions.hs 
>   Log:
>   Re-exporting unsafePerformIO when it it imported via module Foreign
>   doesn't work with nhc98, but it does when it is imported via
>   System.IO.Unsafe. Strange, this seems to be a bug in nhc98...

Weird.  For this simple module:

    module Simple (unsafePerformIO) where
    import Foreign ( unsafePerformIO )

it is re-exported just fine, but for Graphics.Rendering.OpenGL.GL.Extensions
it fails.  I can't begin to guess what the cause is.  (Perhaps I need
to use Hat to trace the compiler here.)

Regards,
    Malcolm


More information about the Cvs-libraries mailing list