summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T3592.stderr
blob: 7fe7f6d115faea3628f7f2e52a7a4d9a64be614f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

T3592.hs:8:5: error:
    • No instance for (Show a) arising from a use of ‘show’
      Possible fix:
        add (Show a) to the context of
          the type signature for:
            f :: T a -> String
    • In the expression: show
      In an equation for ‘f’: f = show

T3592.hs:11:7: error:
    • No instance for (Show a) arising from a use of ‘show’
      Possible fix:
        add (Show a) to the context of
          the type signature for:
            g :: T a -> String
    • In the expression: show x
      In an equation for ‘g’: g x = show x