Skip to content

No instance Show [: Int :] in dph-diophantine-opt

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 }
Trac metadata
Trac field Value
Version 7.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Data Parallel Haskell
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information