8 Jul
2002
8 Jul
'02
6:50 p.m.
Sure, it's a problem, a bug in GHC, whatever. But I don't see a way around it!
Make the spec say that you have to have header files containing prototypes to get correct results. It is not ideal but it is something that can be readily implemented by all Haskell compilers so we can get portable results. Of course, compilers are free to provide extensions, compiler flags, etc. which render the header files unnecessary but people using those extensions are writing non-portable code. -- Alastair