#5076: No instance Show [: Int :] in dph-diophantine-opt
----------------------------------+-----------------------------------------
    Reporter:  daniel.is.fischer  |       Owner:                       
        Type:  bug                |      Status:  new                  
    Priority:  normal             |   Component:  Data Parallel Haskell
     Version:  7.1                |    Keywords:                       
    Testcase:                     |   Blockedby:                       
          Os:  Unknown/Multiple   |    Blocking:                       
Architecture:  Unknown/Multiple   |     Failure:  None/Unknown         
----------------------------------+-----------------------------------------
 The test dph-diophantine-opt failed with
 {{{
 Compile failed (status 256) errors were:
 [1 of 2] Compiling DiophantineVect  ( DiophantineVect.hs,
 DiophantineVect.o )
 [2 of 2] Compiling Main             ( Main.hs, Main.o )

 Main.hs:40:9:
     No instance for (Show [:Int:])
       arising from a use of `print'
     Possible fix: add an instance declaration for (Show [:Int:])
     In the expression: print solution3
     In the expression:
       do { print solution1;
            print solution2;
            print solution3 }
     In an equation for `main':
         main
           = do { print solution1;
                  print solution2;
                  print solution3 }
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5076>
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