> It appears that the library Native has disappeared between 4.04 and
> 4.06, in the big hslibs reorganisation.  Can we expect it to return,
> and if so, when will it come back?

I don't think it's going to return, but if there is something you rely on
from it, then we should attempt to support it in the new FFI story.

> (P.S. I'm mainly interested in showBytes, which is used within the
>       nhc98 compiler.  If it's not going to be possible, then I can
>       probably code a workaround using the primitive FFI.  However,
>       I would need to know how to distinguish version 4.06 from 4.04
>       using cpp-magic.  What's the currently accepted practice?)

the appropriate cpp symbol is __GLASGOW_HASKELL__, as in

#if __GLASGOW_HASKELL__ < 406
blah blah
#else
blah blah
#endif

Cheers,
        Simon

Reply via email to