Generics in 6.8.0 RC

Stefan O'Rear stefanor at cox.net
Sat Sep 22 10:32:11 EDT 2007


On Sat, Sep 22, 2007 at 10:45:50AM +0200, Dirk Kleeblatt wrote:
> Dear *,
>
> I just failed to get generic classes working with snapshot
> ghc-6.8.0.20070920-i386-unknown-linux.tar.bz2. Are generics broken in
> the RC, or am I doing something wrong?
> 
> I tried the following module:
...
> Gen.hs:13:0:
>       Can't find interface-file declaration for variable GHC.Base.$gfromBool
>         Probable cause: bug in .hi-boot file, or inconsistent .hi file
>         Use -ddump-if-trace to get an idea of which file caused the error
>       In the first argument of `a', namely `(GHC.Base.$gfromBool b)'
>       In the first argument of `(\ a -> a)', namely
>           `(a (GHC.Base.$gfromBool b))'
>       In the expression: (\ a -> a) (a (GHC.Base.$gfromBool b))
> Failed, modules loaded: none.

This is definitely a GHC bug:

http://hackage.haskell.org/trac/ghc/wiki/ReportABug

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20070922/ba7378a3/attachment.bin


More information about the Glasgow-haskell-users mailing list