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
  [email protected]http://www.joachim-breitner.de/
  Jabber: [email protected]  • GPG-Key: 0xF0FBF51F
  Debian Developer: [email protected]

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to