
11 Nov
2008
11 Nov
'08
3:16 p.m.
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