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.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to