My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 165: Does not compile with GHC 6.11
2 people starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  ----
Type-Defect
Priority-Medium
Proj-Derive


Sign in to add a comment
 
Reported by gwern0, Mar 21, 2009
Heads up.

[ 2 of 42] Compiling Language.Haskell.TH.FixedPpr (
Language/Haskell/TH/FixedPpr.hs, dist/build/Language/Haskell/TH/FixedPpr.o )

Language/Haskell/TH/FixedPpr.hs:337:13:
    No instance for (Ppr Pred)
      arising from a use of `ppr'
                   at Language/Haskell/TH/FixedPpr.hs:337:13-17
    Possible fix: add an instance declaration for (Ppr Pred)
    In the first argument of `(<+>)', namely `ppr t'
    In the expression: ppr t <+> text "=>"
    In the definition of `pprCxt': pprCxt [t] = ppr t <+> text "=>"
[08:50 PM] 0Mb$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.11.20090320

Comment 1 by ndmitchell, Mar 22, 2009
Thanks for the heads up, there were some reasonably big changes to Template Haskell 
last week, and there will be some more this week. I've got a plan, so will revisit 
this in a few weeks.
Status: Accepted
Labels: Proj-Derive
Comment 2 by ndmitchell, Aug 02, 2009
Derive now makes much less use of template haskell, so hopefully will be easier to get 
compiling with multiple GHC versions. I've left lots of legacy code around, but it 
should be trivial to delete the unneeded code and then it should work.
Sign in to add a comment

Hosted by Google Code