Seems that boolean splicing in haskell templates in ghc 6.10.1 does not
work correctly. If you do:

$((\b -> [| b |]) True)

you get the error:

Can't find interface-file declaration for data constructor GHC.Base.True
      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

It seems that GHC.Base.True is now GHC.Bool.True, but the splicing code
still generates the former.
Leonidas Fegaras


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to