#5890: Illegal instance declaration for `Show Doc'
------------------------------+---------------------------------------------
 Reporter:  mcandre           |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Component:  Template Haskell
  Version:  7.4.1             |       Keywords:                  
       Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
  Failure:  None/Unknown      |       Testcase:                  
Blockedby:                    |       Blocking:                  
  Related:                    |  
------------------------------+---------------------------------------------
 I can't install hmatrix-syntax because template-haskell has errors.

 {{{
 $ cabal install hmatrix-syntax
 Resolving dependencies...
 Downloading template-haskell-2.7.0.0...
 Configuring template-haskell-2.7.0.0...
 Preprocessing library template-haskell-2.7.0.0...
 Building template-haskell-2.7.0.0...
 [1 of 7] Compiling Language.Haskell.TH.Syntax.Internals (
 Language/Haskell/TH/Syntax/Internals.hs,
 dist/build/Language/Haskell/TH/Syntax/Internals.o )
 [2 of 7] Compiling Language.Haskell.TH.Syntax (
 Language/Haskell/TH/Syntax.hs, dist/build/Language/Haskell/TH/Syntax.o )
 [3 of 7] Compiling Language.Haskell.TH.PprLib (
 Language/Haskell/TH/PprLib.hs, dist/build/Language/Haskell/TH/PprLib.o )

 Language/Haskell/TH/PprLib.hs:55:10:
     Illegal instance declaration for `Show Doc'
       (All instance types must be of the form (T t1 ... tn)
        where T is not a synonym.
        Use -XTypeSynonymInstances if you want to disable this.)
     In the instance declaration for `Show Doc'
 cabal: Error: some packages failed to install:
 haskell-src-meta-0.5.1 depends on template-haskell-2.7.0.0 which failed to
 install.
 hmatrix-syntax-0.1 depends on template-haskell-2.7.0.0 which failed to
 install.
 template-haskell-2.7.0.0 failed during the building phase. The exception
 was:
 ExitFailure 1
 th-lift-0.5.5 depends on template-haskell-2.7.0.0 which failed to install.
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5890>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to