summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail169.stderr
blob: cfe63c06eecbce2a850561be7187718b493234f6 (plain)
1
2
3
4
5
6
7
8
9

tcfail169.hs:7:51:
    No instance for (Show (Succ a))
      arising from the 'deriving' clause of a data type declaration
    Possible fix:
      add an instance declaration for (Show (Succ a))
      or use a standalone 'deriving instance' declaration,
           so you can specify the instance context yourself
    When deriving the instance for (Show (Seq a))