Failed to load interface for GHC.Integer.Type

Joachim Breitner mail at joachim-breitner.de
Tue Jun 10 07:26:51 UTC 2014


Hi,

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.

Greetings,
Joachim

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

-------------- 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: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140610/ffb77249/attachment.sig>


More information about the ghc-devs mailing list