[Haskell-cafe] Compiling with NHC98

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Sat May 7 14:44:12 EDT 2005


Daniel Carrera <dcarrera at digitaldistribution.com> writes:

> $ 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.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/


More information about the Haskell-Cafe mailing list