[Haskell-cafe] Compiling with NHC98

Daniel Carrera dcarrera at digitaldistribution.com
Sat May 7 14:51:00 EDT 2005


Marcin 'Qrczak' Kowalczyk wrote:

>>$ nhc98 prng.hs -o prng
>>I/O error (user-defined), call to function `userError':
>>   In file ./RC4.hi:
>>1:1-1:6 Found _module_ but expected a interface
> 
> GHC and NHC confuse each other with prng.hi files they produce and
> examine, in incompatible formats.
> 
> You can delete them; they are needed to compile other modules which
> use that module.

No look, I don't have /any/ .hi files. I don't know what a .hi file is. 
I don't have GHC either, I've never managed to make it compile. I just 
got my very first Haskell compiler (literally 10min ago).

Cheers,
Daniel.


More information about the Haskell-Cafe mailing list