Failed to load interface for GHC.Integer.Type

Joachim Breitner mail at
Tue Jun 10 07:26:51 UTC 2014


Am Montag, den 09.06.2014, 22:16 +0000 schrieb Simon Peyton Jones:
> I'm guessing that it may be the fact that the type-class defaulting
> rules involve Integer.  You added NoImplicitPrelude, which removed a
> dependency on Prelude.   Maybe defaulting is looking for the type
> Integer, but the build system doesn't see any dependency on the module
> that declares the Integer data type.
> Try adding 
>   default ()

that didn’t help (for me).

> Or alternatively (and perhaps easier) import GHC.Base (), which in
> turn depends on GHC.Integer.

That seems to work.


Joachim “nomeata” Breitner
  mail at joachim-breitner.de
  Jabber: nomeata at  • GPG-Key: 0xF0FBF51F
  Debian Developer: nomeata at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the ghc-devs mailing list