Opened 8 years ago

Closed 8 years ago

#5076 closed bug (fixed)

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

Reported by: daniel.is.fischer Owned by: chak
Priority: normal Milestone: 7.2.1
Component: Data Parallel Haskell Version: 7.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

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 }

Change History (3)

comment:1 Changed 8 years ago by simonpj

Owner: set to chak

comment:2 Changed 8 years ago by igloo

Milestone: 7.2.1

comment:3 Changed 8 years ago by daniel.is.fischer

Resolution: fixed
Status: newclosed

Fixed, dph-diophantine-opt now passes.

Note: See TracTickets for help on using tickets.